add test for Video ship
authoradam <adam@megacz.com>
Sun, 7 Sep 2008 03:09:26 +0000 (04:09 +0100)
committeradam <adam@megacz.com>
Sun, 7 Sep 2008 03:09:26 +0000 (04:09 +0100)
ships/Video.ship

index 24f9423..82aac06 100644 (file)
@@ -112,5 +112,35 @@ data  in:    inData
 
 == Constants ========================================================
 
+== Test ==============================================================
+
+// can't test much here; just make sure it accepts values
+
+#expect 0
+#expect 0
+#expect 0
+
+#ship debug : Debug
+#ship video : Video
+
+video.inX:
+  set word=0;
+  deliver;
+  send token to debug.in;
+video.inY:
+  set word=0;
+  deliver;
+  send token to debug.in;
+video.inData:
+  set word=0;
+  deliver;
+  send token to debug.in;
+
+debug.in:
+  set word=0;
+  set ilc=*;
+  recv token, deliver;
+
+
 == Contributors =========================================================
 Adam Megacz <megacz@cs.berkeley.edu>