X-Git-Url: https://pd.if.org/git/?p=hexagon;a=blobdiff_plain;f=t%2Fwithin.c;h=488430929ec9b06a1a253e1236ecb99b10890716;hp=9294b8bede88a7fe55bd97ae3e9c3fe6f27b1503;hb=ce4fd67e5bfd07192ca5cb357798aaa3588512e4;hpb=f4de9d8b5cc2646e133d8c387fa1de5814cfb453 diff --git a/t/within.c b/t/within.c index 9294b8b..4884309 100644 --- a/t/within.c +++ b/t/within.c @@ -9,11 +9,11 @@ int main(void) { int x, y, i, count; int range[32]; - plan_tests(1); + plan(1); start = HL_cantor_xy(3,3); count = HL_hexes_within_range(start, 2, range, 0); ok(count == 18, "18 hexes within 2 hexes of 3,3"); - return exit_status(); + return 0; }