]> gitweb.michael.orlitzky.com - spline3.git/commitdiff
Fix a few test warnings.
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 2 Sep 2011 14:48:40 +0000 (10:48 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 2 Sep 2011 14:48:40 +0000 (10:48 -0400)
src/Tests/Tetrahedron.hs

index 8f838084305df432feaad50f1070bb9c1a2d600b..3b511d2104770e0ce3b5d6a3a6bfe764b49440af 100644 (file)
@@ -34,7 +34,8 @@ tetrahedron1_geometry_tests =
                       v1 = p1,
                       v2 = p2,
                       v3 = p3,
-                      fv = empty_values }
+                      fv = empty_values,
+                      precomputed_volume = 0 }
 
     volume1 :: Assertion
     volume1 =
@@ -68,7 +69,8 @@ tetrahedron2_geometry_tests =
                       v1 = p1,
                       v2 = p2,
                       v3 = p3,
-                      fv = empty_values }
+                      fv = empty_values,
+                      precomputed_volume = 0 }
 
     volume1 :: Assertion
     volume1 = assertEqual "volume1 is correct" True (vol ~= (1/3))
@@ -106,7 +108,8 @@ containment_tests =
                           v1 = p1,
                           v2 = p2,
                           v3 = p3,
-                          fv = empty_values }
+                          fv = empty_values,
+                          precomputed_volume = 0 }
         contained = contains_point t exterior_point
 
 
@@ -120,7 +123,8 @@ containment_tests =
                           v1 = p1,
                           v2 = p2,
                           v3 = p3,
-                          fv = empty_values }
+                          fv = empty_values,
+                          precomputed_volume = 0 }
         contained = contains_point t exterior_point
 
 
@@ -134,7 +138,8 @@ containment_tests =
                           v1 = p1,
                           v2 = p2,
                           v3 = p3,
-                          fv = empty_values }
+                          fv = empty_values,
+                          precomputed_volume = 0 }
         contained = contains_point t exterior_point
 
 
@@ -148,7 +153,8 @@ containment_tests =
                           v1 = p1,
                           v2 = p2,
                           v3 = p3,
-                          fv = empty_values }
+                          fv = empty_values,
+                          precomputed_volume = 0 }
         contained = contains_point t exterior_point