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

Function test_displayBoard

tests/test_mancala.py:12–17  ·  view source on GitHub ↗
(capsys)

Source from the content-addressed store, hash-verified

10
11
12def test_displayBoard(capsys):
13 gameBoard = mancala.getNewBoard()
14 mancala.displayBoard(gameBoard)
15 captured = capsys.readouterr()
16 assert captured.out.count('4') == 12
17 assert captured.out.count('0') == 2
18
19
20def test_makeMove():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected