Test.HUnit.Base
Documentation
assertBool :: String -> Bool -> AssertionSource
class Assertable t whereSource
Instances
Assertable Bool | |
Assertable () | |
ListAssertable t => Assertable [t] | |
Assertable t => Assertable (IO t) |
type AssertionPredicate = IO BoolSource
(@?) :: AssertionPredicable t => t -> String -> AssertionSource
testCaseCount :: Test -> IntSource
(~?) :: AssertionPredicable t => t -> String -> TestSource
type ReportStart us = State -> us -> IO usSource
type ReportProblem us = String -> State -> us -> IO usSource
testCasePaths :: Test -> [Path]Source
performTest :: ReportStart us -> ReportProblem us -> ReportProblem us -> us -> Test -> IO (Counts, us)Source