]> pd.if.org Git - hexagon/blobdiff - t/center.c
use ctap
[hexagon] / t / center.c
index 72499a3afd557512062cd76cde01e5b87544780e..1c039c9de97aa391e009fc2bf5c264886af94945 100644 (file)
@@ -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;
 }