]> gitweb.michael.orlitzky.com - spline3.git/blobdiff - test/TestSuite.hs
Add a test for FunctionValues, test_directions.
[spline3.git] / test / TestSuite.hs
index 0e0055d6142fafc2249c50623b02f09fb73d33da..baf1ab11ef3679200cc361c5610890d942325424 100644 (file)
@@ -3,12 +3,14 @@ import Test.QuickCheck
 
 import Tests.Cardinal
 import Tests.Cube as TC
+import Tests.FunctionValues
 import Tests.Grid
 import Tests.Misc
 import Tests.Tetrahedron as TT
 
 -- The list of HUnit tests.
-test_suite = TestList (concat [grid_tests,
+test_suite = TestList (concat [function_values_tests,
+                               grid_tests,
                                misc_tests,
                                tetrahedron_tests])
 
@@ -160,45 +162,48 @@ main = do
   putStr "prop_c2100_identity1... "
   quickCheckWith qc_args TC.prop_c2100_identity1
 
-  -- putStrLn "\np. 79, (2.7)\n"
+  putStrLn "\np. 79, (2.7)\n"
 
-  -- putStr "prop_c0102_identity1... "
-  -- quickCheckWith qc_args TF.prop_c0102_identity1
+  putStr "prop_c0102_identity1... "
+  quickCheckWith qc_args TC.prop_c0102_identity1
 
-  -- putStr "prop_c0201_identity1... "
-  -- quickCheckWith qc_args TF.prop_c0201_identity1
+  putStr "prop_c0201_identity1... "
+  quickCheckWith qc_args TC.prop_c0201_identity1
 
-  -- putStr "prop_c0300_identity2... "
-  -- quickCheckWith qc_args TF.prop_c0300_identity2
+  putStr "prop_c0300_identity2... "
+  quickCheckWith qc_args TC.prop_c0300_identity2
 
-  -- putStr "prop_c1101_identity... "
-  -- quickCheckWith qc_args TF.prop_c1101_identity
+  putStr "prop_c1101_identity... "
+  quickCheckWith qc_args TC.prop_c1101_identity
 
-  -- putStr "prop_c1200_identity2... "
-  -- quickCheckWith qc_args TF.prop_c1200_identity2
+  putStr "prop_c1200_identity2... "
+  quickCheckWith qc_args TC.prop_c1200_identity2
 
-  -- putStr "prop_c2100_identity2... "
-  -- quickCheckWith qc_args TF.prop_c2100_identity2
+  putStr "prop_c2100_identity2... "
+  quickCheckWith qc_args TC.prop_c2100_identity2
 
-  -- putStrLn "\np. 79, (2.8)\n"
+  putStrLn "\np. 79, (2.8)\n"
 
-  -- putStr "prop_c3000_identity... "
-  -- quickCheckWith qc_args TF.prop_c3000_identity
+  putStr "prop_t0_shares_edge_with_t6... "
+  quickCheckWith qc_args prop_t0_shares_edge_with_t6
+
+  putStr "prop_c3000_identity... "
+  quickCheckWith qc_args TC.prop_c3000_identity
 
   -- putStr "prop_c2010_identity... "
-  -- quickCheckWith qc_args TF.prop_c2010_identity
+  -- quickCheckWith qc_args TC.prop_c2010_identity
 
   -- putStr "prop_c2001_identity... "
-  -- quickCheckWith qc_args TF.prop_c2001_identity
+  -- quickCheckWith qc_args TC.prop_c2001_identity
 
   -- putStr "prop_c1020_identity... "
-  -- quickCheckWith qc_args TF.prop_c1020_identity
+  -- quickCheckWith qc_args TC.prop_c1020_identity
 
   -- putStr "prop_c1002_identity... "
-  -- quickCheckWith qc_args TF.prop_c1002_identity
+  -- quickCheckWith qc_args TC.prop_c1002_identity
 
   -- putStr "prop_c1011_identity... "
-  -- quickCheckWith qc_args TF.prop_c1011_identity
+  -- quickCheckWith qc_args TC.prop_c1011_identity
 
   -- putStrLn "\np. 80, (2.9)\n"
 
@@ -296,6 +301,36 @@ main = do
   putStr "prop_cwx_rotation_changes_direction... "
   quickCheckWith qc_args prop_cwx_rotation_changes_direction
 
+  putStr "prop_ccwy_rotation_changes_direction... "
+  quickCheckWith qc_args prop_ccwy_rotation_changes_direction
+
+  putStr "prop_cwy_rotation_changes_direction... "
+  quickCheckWith qc_args prop_cwy_rotation_changes_direction
+
+  putStr "prop_ccwz_rotation_changes_direction... "
+  quickCheckWith qc_args prop_ccwz_rotation_changes_direction
+
+  putStr "prop_cwz_rotation_changes_direction... "
+  quickCheckWith qc_args prop_cwz_rotation_changes_direction
+
+  putStr "prop_ccwx_rotation_result_unique... "
+  quickCheckWith qc_args prop_ccwx_rotation_result_unique
+
+  putStr "prop_cwx_rotation_result_unique... "
+  quickCheckWith qc_args prop_cwx_rotation_result_unique
+
+  putStr "prop_ccwy_rotation_result_unique... "
+  quickCheckWith qc_args prop_ccwy_rotation_result_unique
+
+  putStr "prop_cwy_rotation_result_unique... "
+  quickCheckWith qc_args prop_cwy_rotation_result_unique
+
+  putStr "prop_ccwz_rotation_result_unique... "
+  quickCheckWith qc_args prop_ccwz_rotation_result_unique
+
+  putStr "prop_cwz_rotation_result_unique... "
+  quickCheckWith qc_args prop_cwz_rotation_result_unique
+
   putStr "prop_four_cwx_is_identity... "
   quickCheckWith qc_args prop_four_cwx_is_identity