/[gzz]/gzz/test/gzz/vob/vobcoorder.test
ViewVC logotype

Diff of /gzz/test/gzz/vob/vobcoorder.test

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by tjl, Tue Oct 29 15:35:51 2002 UTC revision 1.3 by tjl, Fri Nov 1 08:37:19 2002 UTC
# Line 60  def testActivateDepth(): Line 60  def testActivateDepth():
60    
61      failUnlessEqual(cs1, c.getCSAt(0, 150, 150, None))      failUnlessEqual(cs1, c.getCSAt(0, 150, 150, None))
62    
63    
64    def testBoxes():
65        """Test the box coordinate systems.
66        """
67        cs1 = c.box(0, 200, 100)
68        cs2 = c.unitSq(cs1)
69        checkTrans(vs, cs2, [0, 0, 0, 1, 1, 1, 2, 2, 2],
70                            [0, 0, 0, 200, 100, 1, 400, 200, 2])
71    
72        cs1 = c.orthoBox(0, 5, 200, 100, 2, 2, 10, 10)
73        cs2 = c.unitSq(cs1)
74        checkTrans(vs, cs2, [0, 0, 0, 1, 1, 1], [200, 100, 5, 220, 120, 6])
75        
76    # : vim: set syntax=python :

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26