#include "hexagon.h" #include "tap.h" int main(void) { int xy[2]; int ijk[3]; int hex, start, dist; int x, y, i, count; int range[32]; 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 0; }