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

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

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

revision 1.1 by jvk, Wed Mar 26 19:37:23 2003 UTC revision 1.2 by jvk, Wed Mar 26 19:55:41 2003 UTC
# Line 33  from test.tools.gfx import * Line 33  from test.tools.gfx import *
33  def testPaperAnythingJava():  def testPaperAnythingJava():
34      """Test that libpaper, when called through      """Test that libpaper, when called through
35      the Java API, renders anything.      the Java API, renders anything.
36    
37        fail: GL
38      """      """
39      vs = getvs()      vs = getvs()
40      vs.map.put(SolidBackdropVob(Color.black))      vs.map.put(SolidBackdropVob(Color.black))
# Line 56  def testPaperAnythingJava(): Line 58  def testPaperAnythingJava():
58  def testDicing():  def testDicing():
59      """Dicing paper a LOT - there have been some      """Dicing paper a LOT - there have been some
60      too short allocated arrays.      too short allocated arrays.
61    
62        fail: GL
63      """      """
64      paper = PaperMill.getInstance().getPaper(57)      paper = PaperMill.getInstance().getPaper(57)
65      for df in (0, .1, .5, 1, 5, 10, 20, 37, 50):      for df in (0, .1, .5, 1, 5, 10, 20, 37, 50):
# Line 72  def testDicing(): Line 76  def testDicing():
76    
77  def testOptimizedPaper():  def testOptimizedPaper():
78      """See that optimized paper really is same as      """See that optimized paper really is same as
79      original."""      original.
80    
81        fail: GL
82        """
83      for i in range(0,5):      for i in range(0,5):
84          p1 = PaperMill.getInstance().getPaper(i)          p1 = PaperMill.getInstance().getPaper(i)
85          p2 = PaperMill.getInstance().getOptimizedPaper(i, win)          p2 = PaperMill.getInstance().getOptimizedPaper(i, win)

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

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