()
| 108 | |
| 109 | |
| 110 | def test_hasLost(): |
| 111 | board = chancecheckers.getNewBoard() |
| 112 | for space, checker in board.items(): |
| 113 | if checker in ('x', 'X'): |
| 114 | board[space] = chancecheckers.EMPTY |
| 115 | |
| 116 | assert chancecheckers.hasLost(board, 'X') == True |
| 117 | assert chancecheckers.hasLost(board, 'O') == False |
| 118 | |
| 119 |
nothing calls this directly
no outgoing calls
no test coverage detected