/[gzz]/gzz/test/gzz/gfx/gl/basicrender.test
ViewVC logotype

Diff of /gzz/test/gzz/gfx/gl/basicrender.test

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

revision 1.5 by tjl, Tue Oct 15 13:29:19 2002 UTC revision 1.6 by humppake, Tue Oct 29 10:29:57 2002 UTC
# Line 22  def testBgTriangle(): Line 22  def testBgTriangle():
22      checkAvgColor(10, 10, 2, 2, (255, 0, 0), 2)      checkAvgColor(10, 10, 2, 2, (255, 0, 0), 2)
23      checkAvgColor(110, 110, 2, 2, (0, 255, 0), 2)      checkAvgColor(110, 110, 2, 2, (0, 255, 0), 2)
24    
25    def testOvalBgVob():
26        vs = getvs()
27        vs.map.put(SolidBgVob(Color.red))
28        cs1 = vs.coords.affineCoordsys(0, 0, 100, 100, 100, 0, 0, 100)
29        vs.matcher.add(cs1, "cs")
30        vs.map.put(OvalBgVob(), cs1)
31        render(vs)
32        checkAvgColor(10, 10, 2, 2, (255, 0, 0), 2)
33        checkAvgColor(150, 150, 2, 2, (255, 255, 255), 2)
34    
35  # : vim: set syntax=python :  # : vim: set syntax=python :

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