6 import Tests.Face as TF
8 import Tests.Tetrahedron as TT
10 -- The list of HUnit tests.
11 test_suite = TestList (concat [face_tests,
23 let qc_args = stdArgs { maxSuccess = 100,
27 putStr "prop_all_volumes_positive... "
28 quickCheckWith qc_args prop_all_volumes_positive
30 putStr "prop_front_face_volumes_positive... "
31 quickCheckWith qc_args prop_front_face_volumes_positive
33 putStr "prop_top_face_volumes_positive... "
34 quickCheckWith qc_args prop_top_face_volumes_positive
36 putStr "prop_v0_all_equal... "
37 quickCheckWith qc_args prop_v0_all_equal
39 -- putStr "prop_factorial_greater... "
40 -- quickCheckWith qc_args prop_factorial_greater
42 -- putStr "prop_b0_v0_always_unity... "
43 -- quickCheckWith qc_args prop_b0_v0_always_unity
45 -- putStr "prop_b0_v1_always_zero... "
46 -- quickCheckWith qc_args prop_b0_v1_always_zero
48 -- putStr "prop_b0_v2_always_zero... "
49 -- quickCheckWith qc_args prop_b0_v2_always_zero
51 -- putStr "prop_b0_v3_always_zero... "
52 -- quickCheckWith qc_args prop_b0_v3_always_zero
54 -- putStr "prop_b1_v1_always_unity... "
55 -- quickCheckWith qc_args prop_b1_v1_always_unity
57 -- putStr "prop_b1_v0_always_zero... "
58 -- quickCheckWith qc_args prop_b1_v0_always_zero
60 -- putStr "prop_b1_v2_always_zero... "
61 -- quickCheckWith qc_args prop_b1_v2_always_zero
63 -- putStr "prop_b1_v3_always_zero... "
64 -- quickCheckWith qc_args prop_b1_v3_always_zero
66 -- putStr "prop_b2_v2_always_unity... "
67 -- quickCheckWith qc_args prop_b2_v2_always_unity
69 -- putStr "prop_b2_v0_always_zero... "
70 -- quickCheckWith qc_args prop_b2_v0_always_zero
72 -- putStr "prop_b2_v1_always_zero... "
73 -- quickCheckWith qc_args prop_b2_v1_always_zero
75 -- putStr "prop_b2_v3_always_zero... "
76 -- quickCheckWith qc_args prop_b2_v3_always_zero
78 -- putStr "prop_b3_v3_always_unity... "
79 -- quickCheckWith qc_args prop_b3_v3_always_unity
81 -- putStr "prop_b3_v0_always_zero... "
82 -- quickCheckWith qc_args prop_b3_v0_always_zero
84 -- putStr "prop_b3_v1_always_zero... "
85 -- quickCheckWith qc_args prop_b3_v1_always_zero
87 -- putStr "prop_b3_v2_always_zero... "
88 -- quickCheckWith qc_args prop_b3_v2_always_zero
90 -- putStrLn "\np. 78, (2.4)\n"
92 -- putStr "prop_c3000_identity... "
93 -- quickCheckWith qc_args TT.prop_c3000_identity
95 -- putStr "prop_c2100_identity... "
96 -- quickCheckWith qc_args TT.prop_c2100_identity
98 -- putStr "prop_c1110_identity... "
99 -- quickCheckWith qc_args TT.prop_c1110_identity
101 -- putStrLn "\np. 78, (2.5)\n"
103 -- putStr "prop_cijk1_identity... "
104 -- quickCheckWith qc_args prop_cijk1_identity
105 -- putStrLn "\np. 79, (2.6)\n"
107 -- putStr "prop_c0120_identity1... "
108 -- quickCheckWith qc_args TF.prop_c0120_identity1
110 -- putStr "prop_c0210_identity1... "
111 -- quickCheckWith qc_args TF.prop_c0210_identity1
113 -- putStr "prop_c0300_identity1... "
114 -- quickCheckWith qc_args TF.prop_c0300_identity1
116 -- putStr "prop_c1110_identity... "
117 -- quickCheckWith qc_args TF.prop_c1110_identity
119 -- putStr "prop_c1200_identity1... "
120 -- quickCheckWith qc_args prop_c1200_identity1
122 -- putStr "prop_c2100_identity1... "
123 -- quickCheckWith qc_args TF.prop_c2100_identity1
125 -- putStrLn "\np. 79, (2.7)\n"
127 -- putStr "prop_c0102_identity1... "
128 -- quickCheckWith qc_args TF.prop_c0102_identity1
130 -- putStr "prop_c0201_identity1... "
131 -- quickCheckWith qc_args TF.prop_c0201_identity1
133 -- putStr "prop_c0300_identity2... "
134 -- quickCheckWith qc_args TF.prop_c0300_identity2
136 -- putStr "prop_c1101_identity... "
137 -- quickCheckWith qc_args TF.prop_c1101_identity
139 -- putStr "prop_c1200_identity2... "
140 -- quickCheckWith qc_args TF.prop_c1200_identity2
142 -- putStr "prop_c2100_identity2... "
143 -- quickCheckWith qc_args TF.prop_c2100_identity2
145 -- putStrLn "\np. 79, (2.8)\n"
147 -- putStr "prop_c3000_identity... "
148 -- quickCheckWith qc_args TF.prop_c3000_identity
150 -- putStr "prop_c2010_identity... "
151 -- quickCheckWith qc_args TF.prop_c2010_identity
153 -- putStr "prop_c2001_identity... "
154 -- quickCheckWith qc_args TF.prop_c2001_identity
156 -- putStr "prop_c1020_identity... "
157 -- quickCheckWith qc_args TF.prop_c1020_identity
159 -- putStr "prop_c1002_identity... "
160 -- quickCheckWith qc_args TF.prop_c1002_identity
162 -- putStr "prop_c1011_identity... "
163 -- quickCheckWith qc_args TF.prop_c1011_identity
165 -- putStrLn "\np. 80, (2.9)\n"
167 -- putStr "prop_c0120_identity2... "
168 -- quickCheckWith qc_args TF.prop_c0120_identity2
170 -- putStr "prop_c0102_identity2... "
171 -- quickCheckWith qc_args TF.prop_c0102_identity2
173 -- putStr "prop_c0111_identity... "
174 -- quickCheckWith qc_args TF.prop_c0111_identity
176 -- putStr "prop_c0210_identity2... "
177 -- quickCheckWith qc_args TF.prop_c0210_identity2
179 -- putStr "prop_c0201_identity2... "
180 -- quickCheckWith qc_args TF.prop_c0201_identity2
182 -- putStr "prop_c0300_identity3... "
183 -- quickCheckWith qc_args TF.prop_c0300_identity3
185 putStr "prop_ccwx_rotation_changes_direction... "
186 quickCheckWith qc_args prop_ccwx_rotation_changes_direction
188 putStr "prop_cwx_rotation_changes_direction... "
189 quickCheckWith qc_args prop_cwx_rotation_changes_direction