From 7425e6554ea8e3c5838d570ed2c5d053f8953c5c Mon Sep 17 00:00:00 2001 From: treeform Date: Fri, 8 Jul 2022 20:32:27 -0700 Subject: [PATCH] better output? --- tests/test_contexts.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_contexts.nim b/tests/test_contexts.nim index 3cdbac0..47af0f3 100644 --- a/tests/test_contexts.nim +++ b/tests/test_contexts.nim @@ -19,7 +19,7 @@ proc diffVs(image: Image, masterPath: string) = makeDirs(xRayPath.splitPath.head) image.writeFile(imagePath) xRay.writeFile(xRayPath) - echo &"diff {masterPath} vs {imagePath} -> {xRayPath} with {score}" + echo &"diff {masterPath} -> {score*100:0.3f} %" block: let ctx = newContext(newImage(300, 160))