MCPcopy
hub / github.com/grantjenks/free-python-games / test_avoid_1

Function test_avoid_1

tests/test_avoid.py:10–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8
9
10def test_avoid_1():
11 random.seed(0)
12 mockturtle.events.clear()
13 mockturtle.events += [('timer',)] * 10
14 mockturtle.events += [('key Up',)]
15 mockturtle.events += [('timer',)] * 10
16 mockturtle.events += [('key Down',)]
17 mockturtle.events += [('timer', True)] * 1000
18 runpy.run_module('freegames.avoid')
19
20
21def test_avoid_2():

Callers

nothing calls this directly

Calls 1

clearMethod · 0.80

Tested by

no test coverage detected