-- | The Assertions module contains assertions for use in HUnit
-- tests. They primarily fill the need for an equality test that
-- works with floating point numbers.
-module Assertions
+--
+module Assertions (
+ assertAlmostEqual,
+ assertTrue )
where
-import Control.Monad (unless)
-import Test.HUnit (Assertion,
- assertBool,
- assertFailure)
+import Control.Monad ( unless )
+import Test.HUnit (
+ Assertion,
+ assertBool,
+ assertFailure )
-import Comparisons ((~=))
+import Comparisons ( (~=) )
-- | An HUnit assertion that wraps the almost_equals function. Stolen