Timer overhaul: update tests

This commit is contained in:
John McCardle 2026-01-03 22:44:53 -05:00
commit cec76b63dc
78 changed files with 521 additions and 495 deletions

View file

@ -3,8 +3,8 @@
import mcrfpy
import sys
def test_properties(runtime):
mcrfpy.delTimer("test_properties")
def test_properties(timer, runtime):
timer.stop()
print("\n=== Testing Properties ===")
@ -54,4 +54,4 @@ def test_properties(runtime):
sys.exit(0)
test = mcrfpy.Scene("test")
mcrfpy.setTimer("test_properties", test_properties, 100)
test_properties_timer = mcrfpy.Timer("test_properties", test_properties, 100, once=True)