MCPcopy Create free account
hub / github.com/asweigart/PythonStdioGames / test_getPossibleDstMoves

Function test_getPossibleDstMoves

tests/test_checkers.py:65–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63
64
65def test_getPossibleDstMoves():
66 board = checkers.getNewBoard()
67 moves, captures = checkers.getPossibleDstMoves(board, 'B3')
68 assert set(moves) == set(['A4', 'C4'])
69 assert set(captures) == set([])
70
71
72def test_getPlayerMove():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected