/[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.12 by benja, Thu May 15 17:19:03 2003 UTC revision 1.13 by tjl, Thu Jul 31 08:49:09 2003 UTC
# Line 313  def testConcatSq(): Line 313  def testConcatSq():
313      failUnlessEqual(tmpsize[0], 16)      failUnlessEqual(tmpsize[0], 16)
314      failUnlessEqual(tmpsize[1], 17)      failUnlessEqual(tmpsize[1], 17)
315    
316    def testInvalidCS():
317        """Test that invalid coordinate systems won't crash.
318        """
319        v = vob.vobs.RectBgVob()
320    
321        vs = getvs()
322        for i in range(0, 100):
323            cs1 = vs.orthoBoxCS(0, "A", 1, 2, 3, 4, 5, 6, 7)
324            cs2 = vs.orthoBoxCS(0, "B", 11, 12, 13, 14, 15, 16, 17)
325    
326            vs.put(v, cs1)
327        render(vs)
328        vs.put(v, cs2)
329        render(vs)
330        vs.put(v, -1)
331        render(vs)
332        vs.put(v, cs2 + 100)
333        render(vs)
334        vs.put(v, cs1 + 1)
335        render(vs)
336    
337    
338      
339  # : 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