From: Michael Orlitzky Date: Thu, 4 Aug 2011 16:45:30 +0000 (-0400) Subject: Fix 'rotate' argument order in some tests. X-Git-Tag: 0.0.1~248 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=f5367b88967f31b37159b345357df8460bbb8d69;p=spline3.git Fix 'rotate' argument order in some tests. --- diff --git a/src/Tests/Tetrahedron.hs b/src/Tests/Tetrahedron.hs index 5e17671..393b960 100644 --- a/src/Tests/Tetrahedron.hs +++ b/src/Tests/Tetrahedron.hs @@ -304,7 +304,7 @@ prop_x_rotation_doesnt_affect_front t = expr1 == expr2 where fv0 = Tetrahedron.fv t - fv1 = rotate (Tetrahedron.fv t) cwx + fv1 = rotate cwx (Tetrahedron.fv t) expr1 = front fv0 expr2 = front fv1 @@ -313,7 +313,7 @@ prop_x_rotation_doesnt_affect_back t = expr1 == expr2 where fv0 = Tetrahedron.fv t - fv1 = rotate (Tetrahedron.fv t) cwx + fv1 = rotate cwx (Tetrahedron.fv t) expr1 = back fv0 expr2 = back fv1 @@ -323,7 +323,7 @@ prop_y_rotation_doesnt_affect_left t = expr1 == expr2 where fv0 = Tetrahedron.fv t - fv1 = rotate (Tetrahedron.fv t) cwy + fv1 = rotate cwy (Tetrahedron.fv t) expr1 = left fv0 expr2 = left fv1 @@ -332,7 +332,7 @@ prop_y_rotation_doesnt_affect_right t = expr1 == expr2 where fv0 = Tetrahedron.fv t - fv1 = rotate (Tetrahedron.fv t) cwy + fv1 = rotate cwy (Tetrahedron.fv t) expr1 = right fv0 expr2 = right fv1 @@ -342,7 +342,7 @@ prop_z_rotation_doesnt_affect_down t = expr1 == expr2 where fv0 = Tetrahedron.fv t - fv1 = rotate (Tetrahedron.fv t) cwz + fv1 = rotate cwz (Tetrahedron.fv t) expr1 = down fv0 expr2 = down fv1 @@ -352,7 +352,7 @@ prop_z_rotation_doesnt_affect_top t = expr1 == expr2 where fv0 = Tetrahedron.fv t - fv1 = rotate (Tetrahedron.fv t) cwz + fv1 = rotate cwz (Tetrahedron.fv t) expr1 = top fv0 expr2 = top fv1