From: Michael Orlitzky Date: Thu, 16 Apr 2015 01:03:14 +0000 (-0400) Subject: Import cleanup in Assertions. X-Git-Tag: 0.0.1~22 X-Git-Url: http://gitweb.michael.orlitzky.com/?p=spline3.git;a=commitdiff_plain;h=dce4b1749ef651ecd19ad69d9eaccb9807d8c631 Import cleanup in Assertions. --- diff --git a/src/Assertions.hs b/src/Assertions.hs index 4e09b82..023cf65 100644 --- a/src/Assertions.hs +++ b/src/Assertions.hs @@ -1,15 +1,19 @@ -- | 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