| 61 | } |
| 62 | |
| 63 | bool is_leaky(int16_t x, int16_t y, int16_t z) { |
| 64 | return is_open(x, y, z-1) || |
| 65 | is_open(x, y-1, z) || |
| 66 | is_open(x-1, y, z) || |
| 67 | is_open(x+1, y, z) || |
| 68 | is_open(x, y+1, z); |
| 69 | } |
| 70 | |
| 71 | bool is_leaky(const df::coord & pos) { |
| 72 | return is_leaky(pos.x, pos.y, pos.z); |
no test coverage detected