X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=test%2FTestSuite.hs;h=ac1045bc2d1eab200197ef8b833c1d51380fb0ef;hb=ec2f7ca5bb3b0c41c62812cd725c62e731bb9902;hp=31e24266f9e54b62bc0b4d4935b92072b0088666;hpb=e81be702ecf9a92e2c430d283b16b12987e03b81;p=spline3.git diff --git a/test/TestSuite.hs b/test/TestSuite.hs index 31e2426..ac1045b 100644 --- a/test/TestSuite.hs +++ b/test/TestSuite.hs @@ -3,12 +3,15 @@ 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 [cardinal_tests, + function_values_tests, + grid_tests, misc_tests, tetrahedron_tests]) @@ -145,6 +148,21 @@ main = do putStr "prop_c0120_identity1... " quickCheckWith qc_args TC.prop_c0120_identity1 + putStr "prop_c0120_identity2... " + quickCheckWith qc_args TC.prop_c0120_identity2 + + putStr "prop_c0120_identity3... " + quickCheckWith qc_args TC.prop_c0120_identity3 + + putStr "prop_c0120_identity4... " + quickCheckWith qc_args TC.prop_c0120_identity4 + + putStr "prop_c0120_identity5... " + quickCheckWith qc_args TC.prop_c0120_identity5 + + putStr "prop_c0120_identity6... " + quickCheckWith qc_args TC.prop_c0120_identity6 + putStr "prop_c0210_identity1... " quickCheckWith qc_args TC.prop_c0210_identity1 @@ -180,25 +198,25 @@ 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 TF.prop_c3000_identity + 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" @@ -220,6 +238,56 @@ main = do -- putStr "prop_c0300_identity3... " -- quickCheckWith qc_args TF.prop_c0300_identity3 + 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... " + quickCheckWith qc_args prop_t0_shares_edge_with_t6 + + putStr "prop_t0_shares_edge_with_t1... " + quickCheckWith qc_args prop_t0_shares_edge_with_t1 + + putStr "prop_t0_shares_edge_with_t3... " + quickCheckWith qc_args prop_t0_shares_edge_with_t3 + + putStr "prop_t1_shares_edge_with_t2... " + quickCheckWith qc_args prop_t1_shares_edge_with_t2 + + putStr "prop_t1_shares_edge_with_t19... " + quickCheckWith qc_args prop_t1_shares_edge_with_t19 + + putStr "prop_t2_shares_edge_with_t3... " + quickCheckWith qc_args prop_t2_shares_edge_with_t3 + + putStr "prop_t2_shares_edge_with_t12... " + quickCheckWith qc_args prop_t2_shares_edge_with_t12 + + putStr "prop_t3_shares_edge_with_t21... " + quickCheckWith qc_args prop_t3_shares_edge_with_t21 + + putStr "prop_t4_shares_edge_with_t5... " + quickCheckWith qc_args prop_t4_shares_edge_with_t5 + + putStr "prop_t4_shares_edge_with_t7... " + quickCheckWith qc_args prop_t4_shares_edge_with_t7 + + putStr "prop_t4_shares_edge_with_t10... " + quickCheckWith qc_args prop_t4_shares_edge_with_t10 + + putStr "prop_t5_shares_edge_with_t6... " + quickCheckWith qc_args prop_t5_shares_edge_with_t6 + + putStr "prop_t5_shares_edge_with_t16... " + quickCheckWith qc_args prop_t5_shares_edge_with_t16 + + putStr "prop_t6_shares_edge_with_t7... " + quickCheckWith qc_args prop_t6_shares_edge_with_t7 + + putStr "prop_t7_shares_edge_with_t20... " + quickCheckWith qc_args prop_t7_shares_edge_with_t20 putStrLn "\nMisc Tests\n" @@ -296,6 +364,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