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

Function test_getSecretNum

tests/test_bagels.py:8–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6
7
8def test_getSecretNum():
9 for i in range(100):
10 secNum = bagels.getSecretNum()
11 assert len(secNum) == bagels.NUM_DIGITS
12 assert len(set(secNum)) == len(secNum)
13
14
15def test_getClues():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected