]> gitweb.michael.orlitzky.com - spline3.git/commitdiff
Fix a few test warnings and one documentation warning.
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 6 Sep 2011 17:11:13 +0000 (13:11 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 6 Sep 2011 17:11:13 +0000 (13:11 -0400)
src/Everything.hs
src/Tests/Tetrahedron.hs

index e25e7242e2db20bc4ac8b2884dcada74453cbddf..a46fa22f58980e00422ef6c8029fbcf2aaf80a7a 100644 (file)
@@ -1,3 +1,5 @@
+{-# OPTIONS_HADDOCK hide, prune, ignore-exports #-}
+
 -- | This module just imports the others. Useful in GHCi sessions.
 module Everything (
   module X
index 0d924527e17f8cc601cc9a045a7bf7134ed54b69..0b525868c0db6c7eff0f44cd0f261e41002d9f60 100644 (file)
@@ -34,7 +34,8 @@ tetrahedron1_geometry_tests =
                       v2 = p2,
                       v3 = p3,
                       fv = empty_values,
-                      precomputed_volume = 0 }
+                      precomputed_volume = 0,
+                      number = 0 }
 
     volume1 :: Assertion
     volume1 =
@@ -69,7 +70,8 @@ tetrahedron2_geometry_tests =
                       v2 = p2,
                       v3 = p3,
                       fv = empty_values,
-                      precomputed_volume = 0 }
+                      precomputed_volume = 0,
+                      number = 0 }
 
     volume1 :: Assertion
     volume1 = assertEqual "volume1 is correct" True (vol ~= (1/3))
@@ -108,7 +110,8 @@ containment_tests =
                           v2 = p2,
                           v3 = p3,
                           fv = empty_values,
-                          precomputed_volume = 0 }
+                          precomputed_volume = 0,
+                          number = 0 }
         contained = contains_point t exterior_point
 
 
@@ -123,7 +126,8 @@ containment_tests =
                           v2 = p2,
                           v3 = p3,
                           fv = empty_values,
-                          precomputed_volume = 0 }
+                          precomputed_volume = 0,
+                          number = 0 }
         contained = contains_point t exterior_point
 
 
@@ -138,7 +142,8 @@ containment_tests =
                           v2 = p2,
                           v3 = p3,
                           fv = empty_values,
-                          precomputed_volume = 0 }
+                          precomputed_volume = 0,
+                          number = 0 }
         contained = contains_point t exterior_point
 
 
@@ -153,7 +158,8 @@ containment_tests =
                           v2 = p2,
                           v3 = p3,
                           fv = empty_values,
-                          precomputed_volume = 0 }
+                          precomputed_volume = 0,
+                          number = 0 }
         contained = contains_point t exterior_point