From dce4b1749ef651ecd19ad69d9eaccb9807d8c631 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 15 Apr 2015 21:03:14 -0400 Subject: [PATCH] Import cleanup in Assertions. --- src/Assertions.hs | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) 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 -- 2.43.2