[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] libvob/test/vob/api vobcoorder.test
From: |
Matti Katila |
Subject: |
[Gzz-commits] libvob/test/vob/api vobcoorder.test |
Date: |
Fri, 04 Apr 2003 14:26:47 -0500 |
CVSROOT: /cvsroot/libvob
Module name: libvob
Changes by: Matti Katila <address@hidden> 03/04/04 14:26:47
Modified files:
test/vob/api : vobcoorder.test
Log message:
add failing test.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/test/vob/api/vobcoorder.test.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
Patches:
Index: libvob/test/vob/api/vobcoorder.test
diff -u libvob/test/vob/api/vobcoorder.test:1.2
libvob/test/vob/api/vobcoorder.test:1.3
--- libvob/test/vob/api/vobcoorder.test:1.2 Tue Mar 11 08:57:54 2003
+++ libvob/test/vob/api/vobcoorder.test Fri Apr 4 14:26:47 2003
@@ -82,6 +82,18 @@
failUnlessEqual(cs1, c.getCSAt(0, 150, 150, None))
+def testActiveDepthWithTrans():
+ s = vs.size
+
+ cs1 = c.orthoBox(0, 100,0,0,1,1, s.width, s.height)
+ vs.activate(cs1)
+
+ cs2 = vs.translateCS(0, "trans_to_center", s.width/2, s.height/2)
+ cs3 = vs.orthoBoxCS(cs2, "box",0, -s.width/4, -s.height/4, 1,1, s.width/2,
s.height/2)
+ vs.activate(cs3)
+
+ failUnlessEqual(cs3, c.getCSAt(0, s.width/2, s.height/2, None))
+
def testActivateParents():
"""Test that parent relationship is used correctly.
- [Gzz-commits] libvob/test/vob/api vobcoorder.test,
Matti Katila <=
- [Gzz-commits] libvob/test/vob/api vobcoorder.test, Tuomas J. Lukka, 2003/04/23
- [Gzz-commits] libvob/test/vob/api vobcoorder.test, Matti Katila, 2003/04/23
- [Gzz-commits] libvob/test/vob/api vobcoorder.test, Tuomas J. Lukka, 2003/04/23
- [Gzz-commits] libvob/test/vob/api vobcoorder.test, Matti Katila, 2003/04/23
- [Gzz-commits] libvob/test/vob/api vobcoorder.test, Matti Katila, 2003/04/23