/[libvob]/libvob/test/vob/gl/glvobcoorder.test
ViewVC logotype

Diff of /libvob/test/vob/gl/glvobcoorder.test

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

revision 1.12 by tjl, Wed Apr 16 10:37:57 2003 UTC revision 1.13 by tjl, Thu Apr 17 05:21:40 2003 UTC
# Line 310  def testInterpolateType(): Line 310  def testInterpolateType():
310    
311  def testBox():  def testBox():
312      cs1 = vs.orthoBoxCS(0, "A", 1, 2, 3, 4, 5, 6, 7)      cs1 = vs.orthoBoxCS(0, "A", 1, 2, 3, 4, 5, 6, 7)
313        cs2 = vs.translateCS(0, "B", 100,100,100)
314      wh = zeros(2, 'f')      wh = zeros(2, 'f')
315      vs.coords.getSqSize(cs1, wh)      vs.coords.getSqSize(cs1, wh)
316      failUnlessEqual(wh[0], 6);      failUnlessEqual(wh[0], 6);
317      failUnlessEqual(wh[1], 7);      failUnlessEqual(wh[1], 7);
318        cs3 = vs.coords.nadirUnitSq(cs1, cs2)
319    
320    
321        wh = zeros(2, 'f')
322        vs.coords.getSqSize(cs3, wh)
323        failUnlessEqual(wh[0], 6);
324        failUnlessEqual(wh[1], 7);
325        
326    
327  # : vim: set syntax=python :  # : vim: set syntax=python :

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

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