From fa5503e32f29d7258e79744e7b2fc7ee49c923d5 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Fri, 13 May 2011 17:00:23 -0400 Subject: [PATCH] Add two missing type declarations. --- src/Assertions.hs | 1 + src/Tests/Cardinal.hs | 1 + 2 files changed, 2 insertions(+) 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. -- 2.44.2