changeset 425:3820e2a696f8

Tidier output
author Chris Cannam
date Fri, 04 Oct 2013 15:52:02 +0100
parents e91fc47affd8
children 44a342a06819
files src/may/test/test.yeti
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/may/test/test.yeti	Fri Oct 04 12:01:19 2013 +0100
+++ b/src/may/test/test.yeti	Fri Oct 04 15:52:02 2013 +0100
@@ -36,10 +36,10 @@
         count = 40;
         faulty = mat.enumerate (mat.filter (>= tolerance) d);
         for (take count faulty) do f:
-            println " * at (\(f.i),\(f.j)) expected: \(mat.at expected f.i f.j); obtained: \(mat.at obtained f.i f.j); diff: \(f.v)";
+            println " * at (\(f.i),\(f.j)) diff of \(f.v) (expected: \(mat.at expected f.i f.j); obtained: \(mat.at obtained f.i f.j))";
         done;
         if length faulty > count then
-            print "** (only first \(count) of \(length faulty) shown)";
+            println "** (only first \(count) of \(length faulty) shown)";
         fi;
         false;
     fi);