#include "hexagon.h"
-#include "tap.h"
+#include "ctap.h"
int main(void) {
int x, y;
- plan_tests(6);
+ plan(6);
HL_hexbin(1.0, 0.444194, -4.639363, &x, &y);
ok(x == 1 && y == 4, "hexbin 0.444194, 4.639363 = 1, 4, %d %d", x, y);
ok(x == 9, "vertex bin X %d == 9", x);
ok(y == -5, "vertex bin Y %d == -5", y);
- return exit_status();
+ return 0;
}