]> gitweb.michael.orlitzky.com - spline3.git/blobdiff - test/TestSuite.hs
Add six tests to ensure that the rotations don't affect faces perpendicular to them.
[spline3.git] / test / TestSuite.hs
index 951899f251548450c7739cf3b05eb71df6af344d..e2fe52ec87be76b2a514ae1a46b6c3caae2fae80 100644 (file)
@@ -9,7 +9,8 @@ import Tests.Misc
 import Tests.Tetrahedron as TT
 
 -- The list of HUnit tests.
-test_suite = TestList (concat [function_values_tests,
+test_suite = TestList (concat [cardinal_tests,
+                               function_values_tests,
                                grid_tests,
                                misc_tests,
                                tetrahedron_tests])
@@ -197,7 +198,7 @@ main = do
   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 TC.prop_c3000_identity
@@ -237,6 +238,34 @@ main = do
   -- putStr "prop_c0300_identity3... "
   -- quickCheckWith qc_args TF.prop_c0300_identity3
 
+  putStrLn "prop_interior_values_all_identical... "
+  quickCheckWith qc_args prop_interior_values_all_identical
+
+  putStrLn "prop_c_tilde_2100_rotation_correct... "
+  quickCheckWith qc_args prop_c_tilde_2100_rotation_correct
+
+  putStrLn "prop_x_rotation_doesnt_affect_front... "
+  quickCheckWith qc_args prop_x_rotation_doesnt_affect_front
+
+  putStrLn "prop_x_rotation_doesnt_affect_back... "
+  quickCheckWith qc_args prop_x_rotation_doesnt_affect_back
+
+  putStrLn "prop_y_rotation_doesnt_affect_left... "
+  quickCheckWith qc_args prop_y_rotation_doesnt_affect_left
+
+  putStrLn "prop_y_rotation_doesnt_affect_right... "
+  quickCheckWith qc_args prop_y_rotation_doesnt_affect_right
+
+  putStrLn "prop_z_rotation_doesnt_affect_top... "
+  quickCheckWith qc_args prop_z_rotation_doesnt_affect_top
+
+  putStrLn "prop_z_rotation_doesnt_affect_down... "
+  quickCheckWith qc_args prop_z_rotation_doesnt_affect_down
+
+  putStrLn "prop_c_tilde_2100_correct... "
+  quickCheckWith qc_args prop_c_tilde_2100_correct
+
+
   putStrLn "\nEdge Incidence Tests\n"
 
   putStr "prop_t0_shares_edge_with_t6... "