7 void iso(struct hex *h) {
9 printf("iso(%d,%d,%d)", h->x, h->y, h->z);
11 void xy(struct hex *h) {
13 printf("xy(%d,%d)", h->x, h->y);
23 for (x = -5; x<6; x++) {
24 for (y = -5 ; y<6;y++) {
29 xy(&h); printf(" = "); iso(&h); printf(" = ");
31 ok(h.x == x && h.y == y, "xy -> iso -> xy");