X-Git-Url: https://pd.if.org/git/?p=hexagon;a=blobdiff_plain;f=t%2Fwithin.c;h=488430929ec9b06a1a253e1236ecb99b10890716;hp=143b7a864df5b869f4fa35e4ceca1f393656d8f7;hb=ce4fd67e5bfd07192ca5cb357798aaa3588512e4;hpb=8f632e5a3428101590e8cbe94025060c5c3b5ecf diff --git a/t/within.c b/t/within.c index 143b7a8..4884309 100644 --- a/t/within.c +++ b/t/within.c @@ -1,4 +1,4 @@ -#include "hexmap.h" +#include "hexagon.h" #include "tap.h" @@ -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; }