]> pd.if.org Git - hexagon/blobdiff - t/center.c
use ctap
[hexagon] / t / center.c
index 00fdff2a056c0d80a4c11f25134deb3fff9463b7..1c039c9de97aa391e009fc2bf5c264886af94945 100644 (file)
@@ -1,13 +1,13 @@
 #include <math.h>
 
-#include "hexmap.h"
+#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;
 }