()
| 6 | from gamesbyexample import towerofhanoi |
| 7 | |
| 8 | def test_constants(): |
| 9 | assert towerofhanoi.TOTAL_DISKS == 5 |
| 10 | assert towerofhanoi.COMPLETE_TOWER == [5, 4, 3, 2, 1] |
| 11 | |
| 12 | def test_getPlayerMove(capsys): |
| 13 | towers = {'A': copy.copy(towerofhanoi.COMPLETE_TOWER), 'B': [], 'C': []} |
nothing calls this directly
no outgoing calls
no test coverage detected