gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] gzz/test/gzz/gfx/gl glvobcoorder.test


From: Tuomas J. Lukka
Subject: [Gzz-commits] gzz/test/gzz/gfx/gl glvobcoorder.test
Date: Tue, 01 Oct 2002 06:58:17 -0400

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Tuomas J. Lukka <address@hidden>        02/10/01 06:58:17

Modified files:
        test/gzz/gfx/gl: glvobcoorder.test 

Log message:
        Test some more

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/test/gzz/gfx/gl/glvobcoorder.test.diff?tr1=1.6&tr2=1.7&r1=text&r2=text

Patches:
Index: gzz/test/gzz/gfx/gl/glvobcoorder.test
diff -c gzz/test/gzz/gfx/gl/glvobcoorder.test:1.6 
gzz/test/gzz/gfx/gl/glvobcoorder.test:1.7
*** gzz/test/gzz/gfx/gl/glvobcoorder.test:1.6   Tue Oct  1 06:14:47 2002
--- gzz/test/gzz/gfx/gl/glvobcoorder.test       Tue Oct  1 06:58:17 2002
***************
*** 58,85 ****
        failIf( abs(src[i] - src2[i])/(abs(src[i])+1) > 0.01, msg=str((src, 
dst, src2, i, src[i], src2[i])) )
  
  def testInverses():
!     c = GLVobCoorder()
  
!     cs_ortho = c.coordsys(0, 2, 3.5, 9.1, 1.2, 3.9)
!     cs_ortho2 = c.coordsys(cs_ortho, -1.92, 4.1, 2.951, 2.52, 291)
!     cs_rot = c.rotateXY(0, 15)
!     cs_rot2 = c.rotateXY(cs_ortho, 15.8)
!     cs_rot3 = c.rotateXYZ(cs_rot2, 15, 1, 2, 3)
!     cs_ortho3 = c.coordsys(cs_rot, -1.92, 4.1, 2.951, 2.52, 291)
!     cs_ortho4 = c.coordsys(cs_rot2, -1.92, 4.1, 2.951, 2.52, 291)
!     cs_ortho5 = c.coordsys(cs_rot3, -1.92, 4.1, 2.951, 2.52, 291)
  
!     checkInverse(c, cs_rot)
!     checkInverse(c, cs_rot2)
!     checkInverse(c, cs_rot3)
  
!     checkInverse(c, cs_ortho)
!     checkInverse(c, cs_ortho2)
!     checkInverse(c, cs_ortho3)
!     checkInverse(c, cs_ortho4)
!     checkInverse(c, cs_ortho5)
  
!     cs_dist = c.distort(0, 0, 0, 0.5, 0.1, 20, 5)
  
!     checkInverse(c, cs_dist)
  
--- 58,86 ----
        failIf( abs(src[i] - src2[i])/(abs(src[i])+1) > 0.01, msg=str((src, 
dst, src2, i, src[i], src2[i])) )
  
  def testInverses():
!     for i in range(0,5):
!       c = GLVobCoorder()
  
!       cs_ortho = c.coordsys(0, 2, 3.5, 9.1, 1.2, 3.9)
!       cs_ortho2 = c.coordsys(cs_ortho, -1.92, 4.1, 2.951, 2.52, 291)
!       cs_rot = c.rotateXY(0, 15)
!       cs_rot2 = c.rotateXY(cs_ortho, 15.8)
!       cs_rot3 = c.rotateXYZ(cs_rot2, 15, 1, 2, 3)
!       cs_ortho3 = c.coordsys(cs_rot, -1.92, 4.1, 2.951, 2.52, 291)
!       cs_ortho4 = c.coordsys(cs_rot2, -1.92, 4.1, 2.951, 2.52, 291)
!       cs_ortho5 = c.coordsys(cs_rot3, -1.92, 4.1, 2.951, 2.52, 291)
  
!       checkInverse(c, cs_rot)
!       checkInverse(c, cs_rot2)
!       checkInverse(c, cs_rot3)
  
!       checkInverse(c, cs_ortho)
!       checkInverse(c, cs_ortho2)
!       checkInverse(c, cs_ortho3)
!       checkInverse(c, cs_ortho4)
!       checkInverse(c, cs_ortho5)
  
!       cs_dist = c.distort(0, 0, 0, 0.5, 0.1, 20, 5)
  
!       checkInverse(c, cs_dist)
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]