The room is 40 by 30 subtiles. Light cells are region 1 (the box's region), the tinted cells region 2; the bright cells are walls, the two marks are the warp point and the waypoint point.
For each candidate point the four tests run in the game's order and the first one that fails refuses the point; the tests after it are not called.
The yellow cell is the point, its four neighbours are the plus footprint of a size-2 monster, the blue outline is the cell the class's own test reads.
Every value is computed by our model for the toy room, not observed in the game.