Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grantjenks/free-python-games
/ test_avoid_2
Function
test_avoid_2
tests/test_avoid.py:21–30 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
19
20
21
def
test_avoid_2():
22
random.seed(0)
23
mockturtle.events.clear()
24
mockturtle.events += [
25
(
'timer'
, True),
26
(
'key Up'
,),
27
(
'timer'
, True),
28
(
'key Down'
,),
29
] * 1000
30
runpy.run_module(
'freegames.avoid'
)
Callers
nothing calls this directly
Calls
1
clear
Method · 0.80
Tested by
no test coverage detected