[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] libvob/test/vob/api vobcoorder.test
From: |
Tuomas J. Lukka |
Subject: |
[Gzz-commits] libvob/test/vob/api vobcoorder.test |
Date: |
Wed, 23 Apr 2003 09:37:06 -0400 |
CVSROOT: /cvsroot/libvob
Module name: libvob
Changes by: Tuomas J. Lukka <address@hidden> 03/04/23 09:37:06
Modified files:
test/vob/api : vobcoorder.test
Log message:
Some more consistency tests for that call...
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/test/vob/api/vobcoorder.test.diff?tr1=1.5&tr2=1.6&r1=text&r2=text
Patches:
Index: libvob/test/vob/api/vobcoorder.test
diff -u libvob/test/vob/api/vobcoorder.test:1.5
libvob/test/vob/api/vobcoorder.test:1.6
--- libvob/test/vob/api/vobcoorder.test:1.5 Wed Apr 23 09:35:25 2003
+++ libvob/test/vob/api/vobcoorder.test Wed Apr 23 09:37:06 2003
@@ -44,16 +44,20 @@
ok = 0
try:
x()
- except e:
+ except:
ok = 1
assert ok
cs1 = c.ortho(0, 5, 10, 15, 0.5, 1)
v2 = zeros(2, 'f')
v3 = zeros(3, 'f')
+ v6 = zeros(6, 'f')
vs.coords.transformPoints3(0, v3, v3)
vs.coords.transformPoints3(cs1, v3, v3)
er(lambda : vs.coords.transformPoints3(-1, v3, v3))
er(lambda : vs.coords.transformPoints3(cs1+500000, v3, v3))
+ er(lambda : vs.coords.transformPoints3(cs1, v2, v3))
+ er(lambda : vs.coords.transformPoints3(cs1, v3, v2))
+ er(lambda : vs.coords.transformPoints3(cs1, v6, v3))