]> gitweb.michael.orlitzky.com - spline3.git/blobdiff - src/Tests/Tetrahedron.hs
A bunch more test cleanup.
[spline3.git] / src / Tests / Tetrahedron.hs
index ec71e3b826ad9fea0008d541f5c1becec549fdd7..0d924527e17f8cc601cc9a045a7bf7134ed54b69 100644 (file)
@@ -286,62 +286,6 @@ prop_c1110_identity t =
           term3 = (3/4)*((p t 2 1 0 0) + (p t 1 2 0 0) + (p t 2 0 1 0))
           term4 = (3/4)*((p t 1 0 2 0) + (p t 0 2 1 0) + (p t 0 1 2 0))
 
-prop_x_rotation_doesnt_affect_front :: Tetrahedron -> Bool
-prop_x_rotation_doesnt_affect_front t =
-    expr1 == expr2
-    where
-      fv0 = Tetrahedron.fv t
-      fv1 = rotate cwx (Tetrahedron.fv t)
-      expr1 = front fv0
-      expr2 = front fv1
-
-prop_x_rotation_doesnt_affect_back :: Tetrahedron -> Bool
-prop_x_rotation_doesnt_affect_back t =
-    expr1 == expr2
-    where
-      fv0 = Tetrahedron.fv t
-      fv1 = rotate cwx (Tetrahedron.fv t)
-      expr1 = back fv0
-      expr2 = back fv1
-
-
-prop_y_rotation_doesnt_affect_left :: Tetrahedron -> Bool
-prop_y_rotation_doesnt_affect_left t =
-    expr1 == expr2
-    where
-      fv0 = Tetrahedron.fv t
-      fv1 = rotate cwy (Tetrahedron.fv t)
-      expr1 = left fv0
-      expr2 = left fv1
-
-prop_y_rotation_doesnt_affect_right :: Tetrahedron -> Bool
-prop_y_rotation_doesnt_affect_right t =
-    expr1 == expr2
-    where
-      fv0 = Tetrahedron.fv t
-      fv1 = rotate cwy (Tetrahedron.fv t)
-      expr1 = right fv0
-      expr2 = right fv1
-
-
-prop_z_rotation_doesnt_affect_down :: Tetrahedron -> Bool
-prop_z_rotation_doesnt_affect_down t =
-    expr1 == expr2
-    where
-      fv0 = Tetrahedron.fv t
-      fv1 = rotate cwz (Tetrahedron.fv t)
-      expr1 = down fv0
-      expr2 = down fv1
-
-
-prop_z_rotation_doesnt_affect_top :: Tetrahedron -> Bool
-prop_z_rotation_doesnt_affect_top t =
-    expr1 == expr2
-    where
-      fv0 = Tetrahedron.fv t
-      fv1 = rotate cwz (Tetrahedron.fv t)
-      expr1 = top fv0
-      expr2 = top fv1
 
 prop_swapping_vertices_doesnt_affect_coefficients1 :: Tetrahedron -> Bool
 prop_swapping_vertices_doesnt_affect_coefficients1 t =