Timer overhaul: update tests
This commit is contained in:
parent
5d41292bf6
commit
cec76b63dc
78 changed files with 521 additions and 495 deletions
|
|
@ -186,7 +186,7 @@ for s in (red_scene, blue_scene, green_scene, menu_scene):
|
|||
|
||||
# Option to run automatic test
|
||||
if len(sys.argv) > 1 and sys.argv[1] == "--auto":
|
||||
mcrfpy.setTimer("auto_test", test_automatic_transitions, 1000)
|
||||
mcrfpy.Timer("auto_test", lambda t, r: test_automatic_transitions(r), 1000, once=True)
|
||||
else:
|
||||
print("\nManual test mode. Use keyboard controls shown on screen.")
|
||||
print("Run with --auto flag for automatic transition demo.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue