[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/lava/test/gzz/loom Cursor.test
From: |
Benja Fallenstein |
Subject: |
[Gzz-commits] gzz/lava/test/gzz/loom Cursor.test |
Date: |
Sun, 23 Feb 2003 18:13:04 -0500 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Benja Fallenstein <address@hidden> 03/02/23 18:13:04
Modified files:
lava/test/gzz/loom: Cursor.test
Log message:
ouch-- test case for an issue I don't yet know how to address
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/lava/test/gzz/loom/Cursor.test.diff?tr1=1.5&tr2=1.6&r1=text&r2=text
Patches:
Index: gzz/lava/test/gzz/loom/Cursor.test
diff -u gzz/lava/test/gzz/loom/Cursor.test:1.5
gzz/lava/test/gzz/loom/Cursor.test:1.6
--- gzz/lava/test/gzz/loom/Cursor.test:1.5 Sun Feb 23 18:00:55 2003
+++ gzz/lava/test/gzz/loom/Cursor.test Sun Feb 23 18:13:04 2003
@@ -66,6 +66,21 @@
assert list(c.getConnections(-1)) == [n[2]]
+def testConnectedTwoWays():
+ """
+ fail: *
+ """
+ n[5].addProperty(p, n[0])
+ n[5].addProperty(p, n[2])
+
+ c.set(n[2], n[5])
+ c.move(1)
+ assert c.getRotationIndex() == 0
+
+ c.rotate(1)
+ assert c.getRotationIndex() == 1
+
+
def testRotationIndex():
c.set(n[1], n[2])
assert c.getRotationIndex() == 0
- [Gzz-commits] gzz/lava/test/gzz/loom Cursor.test,
Benja Fallenstein <=