From: Nathan Wagner Date: Wed, 16 Nov 2011 06:43:12 +0000 (-0500) Subject: Removed some stray output in test programs. X-Git-Url: https://pd.if.org/git/?p=hexagon;a=commitdiff_plain;h=5011228dceecadb0c1ed94c2635d6c0342e2af48 Removed some stray output in test programs. --- diff --git a/t/distance.c b/t/distance.c index 71d7079..c3ff1cc 100644 --- a/t/distance.c +++ b/t/distance.c @@ -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); } diff --git a/t/range.c b/t/range.c index 7a449e6..b4a4125 100644 --- a/t/range.c +++ b/t/range.c @@ -30,7 +30,7 @@ int main(void) { plan_tests(7+4); - printf("range = 1 from 3,3\n"); + /* printf("range = 1 from 3,3\n"); */ start = HL_cantor_xy(3,3); count = HL_hexes_at_range(start, 1, range, 0); ok(count == 6, "6 hexes at range 1");