|
|
|
| Description |
| HUnit language support.
|
|
| Synopsis |
|
|
|
| Documentation |
|
| type Assertion = IO () |
| An assertion is an IO computation with trivial result. An assertion or
a sequence of assertions makes up a test case.
|
|
| assertFailure |
| :: String | a message that is displayed with the assertion failure
| | -> Assertion | | | signals an assertion failure with a given message.
|
|
|
| performTestCase |
| :: 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:
- Nothing
- 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 |