/[libvob]/libvob/test/vob/api/vobcoorder.test
ViewVC logotype

Diff of /libvob/test/vob/api/vobcoorder.test

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

revision 1.5 by tjl, Wed Apr 23 13:35:25 2003 UTC revision 1.6 by tjl, Wed Apr 23 13:37:06 2003 UTC
# Line 44  def testFailTrans(): Line 44  def testFailTrans():
44          ok = 0          ok = 0
45          try:          try:
46              x()              x()
47          except e:          except:
48              ok = 1              ok = 1
49          assert ok          assert ok
50      cs1 = c.ortho(0, 5, 10, 15, 0.5, 1)      cs1 = c.ortho(0, 5, 10, 15, 0.5, 1)
51      v2 = zeros(2, 'f')      v2 = zeros(2, 'f')
52      v3 = zeros(3, 'f')      v3 = zeros(3, 'f')
53        v6 = zeros(6, 'f')
54      vs.coords.transformPoints3(0, v3, v3)      vs.coords.transformPoints3(0, v3, v3)
55      vs.coords.transformPoints3(cs1, v3, v3)      vs.coords.transformPoints3(cs1, v3, v3)
56      er(lambda : vs.coords.transformPoints3(-1, v3, v3))      er(lambda : vs.coords.transformPoints3(-1, v3, v3))
57      er(lambda : vs.coords.transformPoints3(cs1+500000, v3, v3))      er(lambda : vs.coords.transformPoints3(cs1+500000, v3, v3))
58        er(lambda : vs.coords.transformPoints3(cs1, v2, v3))
59        er(lambda : vs.coords.transformPoints3(cs1, v3, v2))
60        er(lambda : vs.coords.transformPoints3(cs1, v6, v3))
61            
62            
63    

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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