Mercurial > hg > may
comparison yetilab/matrix/test/test_matrix.yeti @ 275:2c3faf6a2820
Implementation and (currently) failing tests for duplicate
author | Chris Cannam |
---|---|
date | Sat, 25 May 2013 18:18:10 +0100 |
parents | 197d23954a4e |
children | 678477bf617c |
comparison
equal
deleted
inserted
replaced
274:df0836b48494 | 275:2c3faf6a2820 |
---|---|
358 ), | 358 ), |
359 | 359 |
360 "zeroSizeMatrix-\(name)": \( | 360 "zeroSizeMatrix-\(name)": \( |
361 compareMatrices | 361 compareMatrices |
362 (mat.zeroSizeMatrix ()) | 362 (mat.zeroSizeMatrix ()) |
363 (newMatrix (ColumnMajor ()) []) | 363 (newMatrix (ColumnMajor ()) []) and |
364 compareMatrices | |
365 (mat.zeroSizeMatrix ()) | |
366 (newMatrix (ColumnMajor ()) [[]]) and | |
367 compareMatrices | |
368 (newMatrix (ColumnMajor ()) [[]]) | |
369 (newMatrix (RowMajor ()) [[]]) and | |
370 compareMatrices | |
371 (mat.zeroSizeMatrix ()) | |
372 (mat.newSparseMatrix (ColumnMajor ()) { rows = 0, columns = 1 } []) and | |
373 compareMatrices | |
374 (mat.zeroSizeMatrix ()) | |
375 (mat.newSparseMatrix (ColumnMajor ()) { rows = 1, columns = 0 } []) | |
364 ), | 376 ), |
365 | 377 |
366 "asRows-\(name)": \( | 378 "asRows-\(name)": \( |
367 compare | 379 compare |
368 (map vec.list | 380 (map vec.list |