HTF- The Haskell Test Framework

Safe HaskellSafe-Infered




You should not use the functions provided by this module directly. Instead, for each function assertXXX_ defined in this module, there exist a preprocessor macro assertXXX, which provides the Location parameter automatically. |


General failure

Assertions on Bool values

Equality assertions

assertEqual_ :: (Eq a, Show a) => Location -> a -> a -> AssertionSource

assertNotEqual_ :: (Eq a, Show a) => Location -> a -> a -> AssertionSource

Assertions on lists

Assertions for exceptions

Assertions on Either values

Assertions on Just values