]> gitweb.michael.orlitzky.com - spline3.git/blobdiff - test/TestSuite.hs
Change some putStrLn calls to putStr instead.
[spline3.git] / test / TestSuite.hs
index ee6f0d4f797015e233c7196cafd5103a409c51ef..2c451c78d38f3cfdf78fac19056c83979f78a379 100644 (file)
@@ -35,32 +35,80 @@ main = do
   putStr "prop_all_volumes_positive... "
   quickCheckWith qc_args prop_all_volumes_positive
 
-  -- putStr "prop_tetrahedron0_volumes_exact... "
-  -- quickCheckWith qc_args prop_tetrahedron0_volumes_exact
+  putStr "prop_tetrahedron0_volumes_exact... "
+  quickCheckWith qc_args prop_tetrahedron0_volumes_exact
 
-  -- putStr "prop_tetrahedron1_volumes_exact... "
-  -- quickCheckWith qc_args prop_tetrahedron1_volumes_exact
+  putStr "prop_tetrahedron1_volumes_exact... "
+  quickCheckWith qc_args prop_tetrahedron1_volumes_exact
 
-  -- putStr "prop_tetrahedron2_volumes_exact... "
-  -- quickCheckWith qc_args prop_tetrahedron2_volumes_exact
+  putStr "prop_tetrahedron2_volumes_exact... "
+  quickCheckWith qc_args prop_tetrahedron2_volumes_exact
 
-  -- putStr "prop_tetrahedron3_volumes_exact... "
-  -- quickCheckWith qc_args prop_tetrahedron3_volumes_exact
+  putStr "prop_tetrahedron3_volumes_exact... "
+  quickCheckWith qc_args prop_tetrahedron3_volumes_exact
 
-  -- putStr "prop_tetrahedron4_volumes_exact... "
-  -- quickCheckWith qc_args prop_tetrahedron4_volumes_exact
+  putStr "prop_tetrahedron4_volumes_exact... "
+  quickCheckWith qc_args prop_tetrahedron4_volumes_exact
 
-  -- putStr "prop_tetrahedron4_volumes_exact... "
-  -- quickCheckWith qc_args prop_tetrahedron4_volumes_exact
+  putStr "prop_tetrahedron4_volumes_exact... "
+  quickCheckWith qc_args prop_tetrahedron4_volumes_exact
 
-  -- putStr "prop_tetrahedron5_volumes_exact... "
-  -- quickCheckWith qc_args prop_tetrahedron5_volumes_exact
+  putStr "prop_tetrahedron5_volumes_exact... "
+  quickCheckWith qc_args prop_tetrahedron5_volumes_exact
 
-  -- putStr "prop_tetrahedron6_volumes_exact... "
-  -- quickCheckWith qc_args prop_tetrahedron6_volumes_exact
+  putStr "prop_tetrahedron6_volumes_exact... "
+  quickCheckWith qc_args prop_tetrahedron6_volumes_exact
 
-  -- putStr "prop_tetrahedron7_volumes_exact... "
-  -- quickCheckWith qc_args prop_tetrahedron7_volumes_exact
+  putStr "prop_tetrahedron7_volumes_exact... "
+  quickCheckWith qc_args prop_tetrahedron7_volumes_exact
+
+  putStr "prop_tetrahedron8_volumes_exact... "
+  quickCheckWith qc_args prop_tetrahedron8_volumes_exact
+
+  putStr "prop_tetrahedron9_volumes_exact... "
+  quickCheckWith qc_args prop_tetrahedron9_volumes_exact
+
+  putStr "prop_tetrahedron10_volumes_exact... "
+  quickCheckWith qc_args prop_tetrahedron10_volumes_exact
+
+  putStr "prop_tetrahedron11_volumes_exact... "
+  quickCheckWith qc_args prop_tetrahedron11_volumes_exact
+
+  putStr "prop_tetrahedron12_volumes_exact... "
+  quickCheckWith qc_args prop_tetrahedron12_volumes_exact
+
+  putStr "prop_tetrahedron13_volumes_exact... "
+  quickCheckWith qc_args prop_tetrahedron13_volumes_exact
+
+  putStr "prop_tetrahedron14_volumes_exact... "
+  quickCheckWith qc_args prop_tetrahedron14_volumes_exact
+
+  putStr "prop_tetrahedron15_volumes_exact... "
+  quickCheckWith qc_args prop_tetrahedron15_volumes_exact
+
+  putStr "prop_tetrahedron16_volumes_exact... "
+  quickCheckWith qc_args prop_tetrahedron16_volumes_exact
+
+  putStr "prop_tetrahedron17_volumes_exact... "
+  quickCheckWith qc_args prop_tetrahedron17_volumes_exact
+
+  putStr "prop_tetrahedron18_volumes_exact... "
+  quickCheckWith qc_args prop_tetrahedron18_volumes_exact
+
+  putStr "prop_tetrahedron19_volumes_exact... "
+  quickCheckWith qc_args prop_tetrahedron19_volumes_exact
+
+  putStr "prop_tetrahedron20_volumes_exact... "
+  quickCheckWith qc_args prop_tetrahedron20_volumes_exact
+
+  putStr "prop_tetrahedron21_volumes_exact... "
+  quickCheckWith qc_args prop_tetrahedron21_volumes_exact
+
+  putStr "prop_tetrahedron22_volumes_exact... "
+  quickCheckWith qc_args prop_tetrahedron22_volumes_exact
+
+  putStr "prop_tetrahedron23_volumes_exact... "
+  quickCheckWith qc_args prop_tetrahedron23_volumes_exact
 
   putStr "prop_tetrahedron0_volumes_positive... "
   quickCheckWith qc_args prop_tetrahedron0_volumes_positive
@@ -143,7 +191,7 @@ main = do
   -- quickCheckWith qc_args prop_cijk1_identity
 
 
-  -- putStrLn "\np. 79, (2.6)\n"
+  putStrLn "\np. 79, (2.6)\n"
 
   putStr "prop_c0120_identity1... "
   quickCheckWith qc_args TC.prop_c0120_identity1
@@ -203,22 +251,22 @@ main = do
   putStr "prop_c3000_identity... "
   quickCheckWith qc_args TC.prop_c3000_identity
 
-  -- putStr "prop_c2010_identity... "
-  -- quickCheckWith qc_args TC.prop_c2010_identity
+  putStr "prop_c2010_identity... "
+  quickCheckWith qc_args TC.prop_c2010_identity
 
-  -- putStr "prop_c2001_identity... "
-  -- quickCheckWith qc_args TC.prop_c2001_identity
+  putStr "prop_c2001_identity... "
+  quickCheckWith qc_args TC.prop_c2001_identity
 
-  -- putStr "prop_c1020_identity... "
-  -- quickCheckWith qc_args TC.prop_c1020_identity
+  putStr "prop_c1020_identity... "
+  quickCheckWith qc_args TC.prop_c1020_identity
 
-  -- putStr "prop_c1002_identity... "
-  -- quickCheckWith qc_args TC.prop_c1002_identity
+  putStr "prop_c1002_identity... "
+  quickCheckWith qc_args TC.prop_c1002_identity
 
-  -- putStr "prop_c1011_identity... "
-  -- quickCheckWith qc_args TC.prop_c1011_identity
+  putStr "prop_c1011_identity... "
+  quickCheckWith qc_args TC.prop_c1011_identity
 
-  -- putStrLn "\np. 80, (2.9)\n"
+  putStrLn "\np. 80, (2.9)\n"
 
   -- putStr "prop_c0120_identity2... "
   -- quickCheckWith qc_args TF.prop_c0120_identity2
@@ -238,10 +286,31 @@ main = do
   -- putStr "prop_c0300_identity3... "
   -- quickCheckWith qc_args TF.prop_c0300_identity3
 
-  putStrLn "prop_c_tilde_2100_rotation_correct... "
+  putStr "prop_interior_values_all_identical... "
+  quickCheckWith qc_args prop_interior_values_all_identical
+
+  putStr "prop_c_tilde_2100_rotation_correct... "
   quickCheckWith qc_args prop_c_tilde_2100_rotation_correct
 
-  putStrLn "prop_c_tilde_2100_correct... "
+  putStr "prop_x_rotation_doesnt_affect_front... "
+  quickCheckWith qc_args prop_x_rotation_doesnt_affect_front
+
+  putStr "prop_x_rotation_doesnt_affect_back... "
+  quickCheckWith qc_args prop_x_rotation_doesnt_affect_back
+
+  putStr "prop_y_rotation_doesnt_affect_left... "
+  quickCheckWith qc_args prop_y_rotation_doesnt_affect_left
+
+  putStr "prop_y_rotation_doesnt_affect_right... "
+  quickCheckWith qc_args prop_y_rotation_doesnt_affect_right
+
+  putStr "prop_z_rotation_doesnt_affect_top... "
+  quickCheckWith qc_args prop_z_rotation_doesnt_affect_top
+
+  putStr "prop_z_rotation_doesnt_affect_down... "
+  quickCheckWith qc_args prop_z_rotation_doesnt_affect_down
+
+  putStr "prop_c_tilde_2100_correct... "
   quickCheckWith qc_args prop_c_tilde_2100_correct