[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] libvob/test/vob/gl irregu.test
From: |
Janne V. Kujala |
Subject: |
[Gzz-commits] libvob/test/vob/gl irregu.test |
Date: |
Tue, 22 Apr 2003 07:12:29 -0400 |
CVSROOT: /cvsroot/libvob
Module name: libvob
Changes by: Janne V. Kujala <address@hidden> 03/04/22 07:12:28
Modified files:
test/vob/gl : irregu.test
Log message:
crashing test
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/test/vob/gl/irregu.test.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
Patches:
Index: libvob/test/vob/gl/irregu.test
diff -u libvob/test/vob/gl/irregu.test:1.2 libvob/test/vob/gl/irregu.test:1.3
--- libvob/test/vob/gl/irregu.test:1.2 Tue Apr 15 14:53:13 2003
+++ libvob/test/vob/gl/irregu.test Tue Apr 22 07:12:28 2003
@@ -1,3 +1,4 @@
+# -*-python-*-
#
# Copyright (c) 2003, Tuomas J. Lukka
#
@@ -24,6 +25,20 @@
# Really basic
from org.nongnu.libvob.gl import IrregularFrame
+from test.tools.gfx import *
+from vob.putil.effects import IrreguFrame
def testCreate():
irregu = IrregularFrame.create(0,0,1,1,2,3)
+
+def testCrash():
+ irregu = IrreguFrame(-2, -1.5, 2, 1.5, 0.2, 1.0, type="ellipse")
+
+ vs = getvs()
+
+ cs1 = vs.orthoCS(0, "1", 0, 0, 0, 150, 300)
+ cs2 = vs.orthoCS(0, "2", 0, 0, 0, 0, 1 )
+
+ vs.map.put(irregu.frame, cs1, cs2)
+
+ render(vs)