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

Function test_prevCol

tests/test_chancecheckers.py:36–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34
35
36def test_prevCol():
37 assert chancecheckers.prevCol('A') == ''
38 assert chancecheckers.prevCol('B') == 'A'
39 assert chancecheckers.prevCol('C') == 'B'
40 assert chancecheckers.prevCol('D') == 'C'
41 assert chancecheckers.prevCol('E') == 'D'
42 assert chancecheckers.prevCol('F') == 'E'
43 assert chancecheckers.prevCol('G') == 'F'
44 assert chancecheckers.prevCol('H') == 'G'
45
46def test_nextCol():
47 assert chancecheckers.nextCol('A') == 'B'

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected