|HUnit language support.
|type Assertion = IO ()|
|An assertion is an IO computation with trivial result. An assertion or
a sequence of assertions makes up a test case.
|:: String||a message that is displayed with the assertion failure
|signals an assertion failure with a given message.
|:: Assertion||an assertion to be made during the test case run
|-> IO (Maybe (Bool, String))|
performs a single test case. The meaning of the result is as follows:
- test case success
- Just (True, msg)
- test case failure with the given message
- Just (False, msg)
- test case error with the given message
|Produced by Haddock version 0.8|