]> pd.if.org Git - hexagon/commitdiff
Removed some stray output in test programs.
authorNathan Wagner <nw@hydaspes.if.org>
Wed, 16 Nov 2011 06:43:12 +0000 (01:43 -0500)
committerNathan Wagner <nw@hydaspes.if.org>
Wed, 16 Nov 2011 06:43:12 +0000 (01:43 -0500)
t/distance.c
t/range.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);
 }
 
index 7a449e61df386ab65bb84f977ecb9a77a5be917e..b4a4125ce924fb37dfb1607f6a3a86f8c55773c0 100644 (file)
--- 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");