mustBe : DecEq a => Show a => a -> a -> TestResult () Passes if `actual` is decidably equal to `expected`. Uses `DecEq` for
constructive equality — the primary assertion in evince.
Totality: total
Visibility: exportmustNotBe : DecEq a => Show a => a -> a -> TestResult () Passes if `actual` is decidably not equal to `expected`.
Totality: total
Visibility: exportmustEqual : Eq a => Show a => a -> a -> TestResult () Passes if `actual == expected` via `Eq`. Fallback for types without `DecEq`
(e.g. `Double`).
Totality: total
Visibility: exportmustNotEqual : Eq a => Show a => a -> a -> TestResult () Passes if `actual /= expected` via `Eq`.
Totality: total
Visibility: exportmustSatisfy : Show a => a -> (a -> Bool) -> TestResult () Passes if `pred actual` is `True`.
Totality: total
Visibility: exportmustNotSatisfy : Show a => a -> (a -> Bool) -> TestResult () Passes if `pred actual` is `False`.
Totality: total
Visibility: exportmustBeTrue : Bool -> TestResult () Passes if the value is `True`.
Totality: total
Visibility: exportmustBeFalse : Bool -> TestResult () Passes if the value is `False`.
Totality: total
Visibility: exportmustBeJust : Show a => Maybe a -> TestResult () Passes if the value is `Just _`.
Totality: total
Visibility: exportmustBeNothing : Show a => Maybe a -> TestResult () Passes if the value is `Nothing`.
Totality: total
Visibility: exportmustBeRight : (Show a, Show b) => Either a b -> TestResult () Passes if the value is `Right _`.
Totality: total
Visibility: exportmustBeLeft : (Show a, Show b) => Either a b -> TestResult () Passes if the value is `Left _`.
Totality: total
Visibility: exportmustContain : Eq a => Show a => List a -> List a -> TestResult () Passes if `needle` is a contiguous subsequence of `haystack`.
Totality: total
Visibility: exportmustNotContain : Eq a => Show a => List a -> List a -> TestResult () Passes if `needle` is not a contiguous subsequence of `haystack`.
Totality: total
Visibility: exportmustStartWith : Eq a => Show a => List a -> List a -> TestResult () Passes if the list starts with `prefx`.
Totality: total
Visibility: exportmustEndWith : Eq a => Show a => List a -> List a -> TestResult () Passes if the list ends with `sufx`.
Totality: total
Visibility: exportmustBeEmpty : Show a => List a -> TestResult () Passes if the list is empty.
Totality: total
Visibility: exportmustNotBeEmpty : List a -> TestResult () Passes if the list is non-empty.
Totality: total
Visibility: exportmustFail : String -> TestResult () Unconditionally fails with the given message.
Totality: total
Visibility: exportpending : TestResult () Marks a test as pending (skipped, not counted as failure).
Totality: total
Visibility: exportpendingWith : String -> TestResult () Marks a test as pending with a reason.
Totality: total
Visibility: exportmustReturn : DecEq a => Show a => IO a -> a -> IO (TestResult ()) Passes if the IO action returns a value decidably equal to `expected`.
Used with `itIO`.
Visibility: exportmustReturnEqual : Eq a => Show a => IO a -> a -> IO (TestResult ()) Passes if the IO action returns a value equal to `expected` via Eq.
Used with `itIO`. Fallback for types without `DecEq`.
Visibility: export