deadfoxygrandpa/elm-test/2.0.0

NOTE: this package is not compatible with Elm 0.19.1

ElmTest.Assertion

The basic component of a test case, an assertion.

Assert

= AssertTrue (() -> Bool)
| AssertFalse (() -> Bool)
| AssertEqual (() -> Bool) String String
| AssertNotEqual (() -> Bool) String String

An assertion.

assertionList : List a -> List a -> List Assertion

Given a list of values and another list of expected values, generate a list of Assert Equal assertions.

assertT : (() -> Bool) -> Assertion

Basic function to create an Assert True assertion. Delays execution until tests are run.

assert : Bool -> Assertion

Basic function to create an Assert True assertion. Delays execution until tests are run.

assertEqual : a -> a -> Assertion

Basic function to create an Assert Equals assertion, the expected value goes on the left.

assertNotEqual : a -> a -> Assertion

Basic function to create an Assert Not Equals assertion.