]> gitweb.michael.orlitzky.com - spline3.git/blobdiff - src/Tests/Tetrahedron.hs
Move the FunctionValues tests into the FunctionValues module.
[spline3.git] / src / Tests / Tetrahedron.hs
index 8f838084305df432feaad50f1070bb9c1a2d600b..ec71e3b826ad9fea0008d541f5c1becec549fdd7 100644 (file)
@@ -9,7 +9,6 @@ import Test.QuickCheck (Property, (==>))
 import Cardinal
 import Comparisons
 import FunctionValues
-import Tests.FunctionValues()
 import Tetrahedron
 import ThreeDimensional
 
@@ -34,7 +33,8 @@ tetrahedron1_geometry_tests =
                       v1 = p1,
                       v2 = p2,
                       v3 = p3,
-                      fv = empty_values }
+                      fv = empty_values,
+                      precomputed_volume = 0 }
 
     volume1 :: Assertion
     volume1 =
@@ -68,7 +68,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 +107,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 +122,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 +137,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 +152,8 @@ containment_tests =
                           v1 = p1,
                           v2 = p2,
                           v3 = p3,
-                          fv = empty_values }
+                          fv = empty_values,
+                          precomputed_volume = 0 }
         contained = contains_point t exterior_point