[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/test/gzz gfx/gl/glvobcoorder.test vob/vobco...
From: |
Tuomas J. Lukka |
Subject: |
[Gzz-commits] gzz/test/gzz gfx/gl/glvobcoorder.test vob/vobco... |
Date: |
Fri, 01 Nov 2002 03:37:20 -0500 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Tuomas J. Lukka <address@hidden> 02/11/01 03:37:19
Modified files:
test/gzz/gfx/gl: glvobcoorder.test
test/gzz/vob : vobcoorder.test
Log message:
Move testBoxes - will fail for AWT for now
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/test/gzz/gfx/gl/glvobcoorder.test.diff?tr1=1.17&tr2=1.18&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/test/gzz/vob/vobcoorder.test.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
Patches:
Index: gzz/test/gzz/gfx/gl/glvobcoorder.test
diff -u gzz/test/gzz/gfx/gl/glvobcoorder.test:1.17
gzz/test/gzz/gfx/gl/glvobcoorder.test:1.18
--- gzz/test/gzz/gfx/gl/glvobcoorder.test:1.17 Fri Nov 1 03:05:13 2002
+++ gzz/test/gzz/gfx/gl/glvobcoorder.test Fri Nov 1 03:37:19 2002
@@ -17,17 +17,6 @@
vs2 = getvs()
c2 = vs2.coords
-def testBoxes():
- cs1 = c.box(0, 200, 100)
- cs2 = c.unitSq(cs1)
- checkTrans(vs, cs2, [0, 0, 0, 1, 1, 1, 2, 2, 2],
- [0, 0, 0, 200, 100, 1, 400, 200, 2])
-
- cs1 = c.orthoBox(0, 5, 200, 100, 2, 2, 10, 10)
- cs2 = c.unitSq(cs1)
- checkTrans(vs, cs2, [0, 0, 0, 1, 1, 1], [200, 100, 5, 220, 120, 6])
-
-
def testTransform():
cs1 = c.ortho(0, 5, 10, 15, 0.5, 1)
Index: gzz/test/gzz/vob/vobcoorder.test
diff -u gzz/test/gzz/vob/vobcoorder.test:1.2
gzz/test/gzz/vob/vobcoorder.test:1.3
--- gzz/test/gzz/vob/vobcoorder.test:1.2 Tue Oct 29 10:35:51 2002
+++ gzz/test/gzz/vob/vobcoorder.test Fri Nov 1 03:37:19 2002
@@ -60,3 +60,17 @@
failUnlessEqual(cs1, c.getCSAt(0, 150, 150, None))
+
+def testBoxes():
+ """Test the box coordinate systems.
+ """
+ cs1 = c.box(0, 200, 100)
+ cs2 = c.unitSq(cs1)
+ checkTrans(vs, cs2, [0, 0, 0, 1, 1, 1, 2, 2, 2],
+ [0, 0, 0, 200, 100, 1, 400, 200, 2])
+
+ cs1 = c.orthoBox(0, 5, 200, 100, 2, 2, 10, 10)
+ cs2 = c.unitSq(cs1)
+ checkTrans(vs, cs2, [0, 0, 0, 1, 1, 1], [200, 100, 5, 220, 120, 6])
+
+# : vim: set syntax=python :
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gzz-commits] gzz/test/gzz gfx/gl/glvobcoorder.test vob/vobco...,
Tuomas J. Lukka <=