From: Michael Orlitzky Date: Fri, 13 May 2011 21:00:23 +0000 (-0400) Subject: Add two missing type declarations. X-Git-Tag: 0.0.1~288 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=fa5503e32f29d7258e79744e7b2fc7ee49c923d5;p=spline3.git Add two missing type declarations. --- diff --git a/src/Assertions.hs b/src/Assertions.hs index 6641e8c..33b79b9 100644 --- a/src/Assertions.hs +++ b/src/Assertions.hs @@ -28,4 +28,5 @@ assertClose preface expected actual = "expected: " ++ show expected ++ "\n but got: " ++ show actual -- | It's asinine that this doesn't exist already. +assertTrue :: String -> Bool -> Assertion assertTrue = assertBool diff --git a/src/Tests/Cardinal.hs b/src/Tests/Cardinal.hs index 450730d..c3f60e5 100644 --- a/src/Tests/Cardinal.hs +++ b/src/Tests/Cardinal.hs @@ -75,6 +75,7 @@ test_c_tilde_2100_rotation_correct = (1/96)*(FL + BR + FR + BL) + (1/192)*(FD + LD + RD + BD) +cardinal_tests :: [Test] cardinal_tests = [test_c_tilde_2100_rotation_correct] -- | A list of all directions, sans the interior and composite types.