diff yetilab/vector/test/test_blockfuncs.yeti @ 297:07389b654ff0

Make add take a list rather than just 2
author Chris Cannam
date Fri, 31 May 2013 22:02:24 +0100
parents 197d23954a4e
children
line wrap: on
line diff
--- a/yetilab/vector/test/test_blockfuncs.yeti	Fri May 31 22:02:03 2013 +0100
+++ b/yetilab/vector/test/test_blockfuncs.yeti	Fri May 31 22:02:24 2013 +0100
@@ -38,9 +38,9 @@
 ),
 
 "add": \(
-    compare (list (add (zeros 0) (ones 5))) [] and
-        compare (list (add (consts 3 4) (fromList [1,2,3]))) [4,5,6] and
-        compare (list (add (consts (-3) 4) (fromList [1,2,3]))) [-2,-1,0] 
+    compare (list (add [zeros 0, ones 5])) [] and
+        compare (list (add [consts 3 4, fromList [1,2,3] ])) [4,5,6] and
+        compare (list (add [consts (-3) 4, fromList [1,2,3] ])) [-2,-1,0] 
 ),
 
 "subtract": \(