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