]> gitweb.michael.orlitzky.com - spline3.git/blob - src/Tests/Face.hs
Add a blank line to the test output.
[spline3.git] / src / Tests / Face.hs
1 module Tests.Face
2 where
3
4
5
6
7
8
9
10
11
12 -- -- | Given in Sorokina and Zeilfelder, p. 80.
13 -- prop_c0120_identity2 :: Cube -> Bool
14 -- prop_c0120_identity2 cube =
15 -- c t0' 0 1 2 0 ~= (c t0' 1 0 2 0 + c t1' 1 0 2 0) / 2
16 -- where
17 -- t0 = tetrahedron0 (face0 cube)
18 -- t1 = tetrahedron0 (face2 (top cube))
19 -- t0' = Tetrahedron cube (v3 t0) (v2 t0) (v1 t0) (v0 t0)
20 -- t1' = Tetrahedron cube (v3 t1) (v2 t1) (v0 t1) (v1 t1)
21
22
23 -- -- | Given in Sorokina and Zeilfelder, p. 80.
24 -- prop_c0102_identity2 :: Cube -> Bool
25 -- prop_c0102_identity2 cube =
26 -- c t0' 0 1 0 2 ~= (c t0' 1 0 0 2 + c t1' 1 0 0 2) / 2
27 -- where
28 -- t0 = tetrahedron0 (face0 cube)
29 -- t1 = tetrahedron0 (face2 (top cube))
30 -- t0' = Tetrahedron cube (v3 t0) (v2 t0) (v1 t0) (v0 t0)
31 -- t1' = Tetrahedron cube (v3 t1) (v2 t1) (v0 t1) (v1 t1)
32
33
34 -- -- | Given in Sorokina and Zeilfelder, p. 80.
35 -- prop_c0111_identity :: Cube -> Bool
36 -- prop_c0111_identity cube =
37 -- c t0' 0 1 1 1 ~= (c t0' 1 0 1 1 + c t1' 1 0 1 1) / 2
38 -- where
39 -- t0 = tetrahedron0 (face0 cube)
40 -- t1 = tetrahedron0 (face2 (top cube))
41 -- t0' = Tetrahedron cube (v3 t0) (v2 t0) (v1 t0) (v0 t0)
42 -- t1' = Tetrahedron cube (v3 t1) (v2 t1) (v0 t1) (v1 t1)
43
44
45 -- -- | Given in Sorokina and Zeilfelder, p. 80.
46 -- prop_c0210_identity2 :: Cube -> Bool
47 -- prop_c0210_identity2 cube =
48 -- c t0 0 2 1 0 ~= (c t0 1 1 1 0 + c t1 1 1 1 0) / 2
49 -- where
50 -- t0 = tetrahedron0 (face0 cube)
51 -- t1 = tetrahedron0 (face2 (top cube))
52 -- t0' = Tetrahedron cube (v3 t0) (v2 t0) (v1 t0) (v0 t0)
53 -- t1' = Tetrahedron cube (v3 t1) (v2 t1) (v0 t1) (v1 t1)
54
55
56 -- -- | Given in Sorokina and Zeilfelder, p. 80.
57 -- prop_c0201_identity2 :: Cube -> Bool
58 -- prop_c0201_identity2 cube =
59 -- c t0 0 2 0 1 ~= (c t0 1 1 0 1 + c t1 1 1 0 1) / 2
60 -- where
61 -- t0 = tetrahedron0 (face0 cube)
62 -- t1 = tetrahedron0 (face2 (top cube))
63 -- t0' = Tetrahedron cube (v3 t0) (v2 t0) (v1 t0) (v0 t0)
64 -- t1' = Tetrahedron cube (v3 t1) (v2 t1) (v0 t1) (v1 t1)
65
66
67 -- -- | Given in Sorokina and Zeilfelder, p. 80.
68 -- prop_c0300_identity3 :: Cube -> Bool
69 -- prop_c0300_identity3 cube =
70 -- c t0 0 3 0 0 ~= (c t0 1 2 0 0 + c t1 1 2 0 0) / 2
71 -- where
72 -- t0 = tetrahedron0 (face0 cube)
73 -- t1 = tetrahedron0 (face2 (top cube))
74 -- t0' = Tetrahedron cube (v3 t0) (v2 t0) (v1 t0) (v0 t0)
75 -- t1' = Tetrahedron cube (v3 t1) (v2 t1) (v0 t1) (v1 t1)