Test suite modernization

This commit is contained in:
John McCardle 2026-02-09 08:15:18 -05:00
commit 52fdfd0347
141 changed files with 9947 additions and 4665 deletions

17
tests/all_inputs.py Normal file
View file

@ -0,0 +1,17 @@
import mcrfpy
s = mcrfpy.Scene("test")
s.activate()
g = mcrfpy.Grid(pos=(0,0), size=(1024,768), grid_size = (64, 48))
s.children.append(g)
def keys(*args):
print("key: ", args)
def clicks(*args):
print("click:", args)
s.on_key = keys
g.on_click = clicks