X-Git-Url: https://pd.if.org/git/?p=hexagon;a=blobdiff_plain;f=t%2Fcenter.c;h=1c039c9de97aa391e009fc2bf5c264886af94945;hp=72499a3afd557512062cd76cde01e5b87544780e;hb=ce4fd67e5bfd07192ca5cb357798aaa3588512e4;hpb=f4de9d8b5cc2646e133d8c387fa1de5814cfb453 diff --git a/t/center.c b/t/center.c index 72499a3..1c039c9 100644 --- a/t/center.c +++ b/t/center.c @@ -2,12 +2,12 @@ #include "hexagon.h" -#include "tap.h" +#include "ctap.h" int main(void) { int start, x, y; - plan_tests(6); + plan(6); x = 0; y = 0; start = HL_cantor_xy(x,y); @@ -26,5 +26,5 @@ int main(void) { ok(HL_center_y(start) == 2.0, "%d %d center Y = %f", x, y, HL_center_y(start)); - return exit_status(); + return 0; }