Return True if the (x, y) is empty on the board and there's also no robot there.
(x, y, board, robots)
| 103 | |
| 104 | |
| 105 | def isEmpty(x, y, board, robots): |
| 106 | """Return True if the (x, y) is empty on the board and there's also |
| 107 | no robot there.""" |
| 108 | return board[(x, y)] == EMPTY_SPACE and (x, y) not in robots |
| 109 | |
| 110 | |
| 111 | def addRobots(board): |
no outgoing calls
no test coverage detected