]> pd.if.org Git - hexagon/blobdiff - t/distance.c
Removed some stray output in test programs.
[hexagon] / t / distance.c
index 71d7079a0af5143f026865ee083279fe18abe26d..c3ff1cc2a57b0673256c9e1c5bee8f3f057d0a68 100644 (file)
@@ -8,7 +8,7 @@ void dcheck(int x1, int y1, int x2, int y2, int expect) {
        to = HL_cantor_xy(x2,y2);
        dist = HL_distance(from,to);
        ok(dist == expect,
-               "distance from (%02d, %02d) to (%02d, %02d) = %d (expect %d)\n",
+               "distance from (%02d, %02d) to (%02d, %02d) = %d (expect %d)",
                x1, y1, x2, y2, dist, expect);
 }