X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;ds=sidebyside;f=t%2Frange.c;h=783a089f130cd87679b49e301cc001427bfa8dc4;hb=ce4fd67e5bfd07192ca5cb357798aaa3588512e4;hp=b40b86d66837b3356da9aa9ca4426bf10243d84d;hpb=8f632e5a3428101590e8cbe94025060c5c3b5ecf;p=hexagon diff --git a/t/range.c b/t/range.c index b40b86d..783a089 100644 --- a/t/range.c +++ b/t/range.c @@ -4,9 +4,9 @@ #include #include -#include "hexmap.h" +#include "hexagon.h" -#include "tap.h" +#include "ctap.h" int icmp(const void *ap, const void *bp) { int a; @@ -28,9 +28,9 @@ int main(void) { int range[32]; int testrange[32]; - plan_tests(7+4); + plan(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"); @@ -63,5 +63,5 @@ int main(void) { count = HL_hexes_at_range(start, 2, range, 0); ok(count == 12, "6 hexes at range1 from 3,3"); - return exit_status(); + return 0; }