diff yetilab/matrix/test/test_matrix.yeti @ 171:df2383f6b99b

Initial filter tests and combining filter
author Chris Cannam
date Thu, 02 May 2013 17:33:55 +0100
parents 3fbaa25aad89
children 370d9350495c
line wrap: on
line diff
--- a/yetilab/matrix/test/test_matrix.yeti	Thu May 02 11:27:20 2013 +0100
+++ b/yetilab/matrix/test/test_matrix.yeti	Thu May 02 17:33:55 2013 +0100
@@ -266,13 +266,15 @@
 
 "asRows-\(name)": \(
     compare
-       (mat.asRows (newMatrix (ColumnMajor ()) [[1,4],[2,5],[3,6]]))
+       (map block.list
+           (mat.asRows (newMatrix (ColumnMajor ()) [[1,4],[2,5],[3,6]])))
         [[1,2,3],[4,5,6]];
 ),
 
 "asColumns-\(name)": \(
     compare
-       (mat.asColumns (newMatrix (ColumnMajor ()) [[1,4],[2,5],[3,6]]))
+       (map block.list
+           (mat.asColumns (newMatrix (ColumnMajor ()) [[1,4],[2,5],[3,6]])))
         [[1,4],[2,5],[3,6]];
 ),