update tests: new scene API

This commit is contained in:
John McCardle 2026-01-03 10:59:52 -05:00
commit 838da4571d
142 changed files with 616 additions and 601 deletions

View file

@ -47,7 +47,7 @@ print()
# Test 4: After creating mcrfpy objects
print("Test 4: After creating mcrfpy scene/grid")
try:
mcrfpy.createScene("test")
test = mcrfpy.Scene("test")
grid = mcrfpy.Grid(grid_x=10, grid_y=10)
walls = []
@ -63,7 +63,7 @@ print()
# Test 5: Check line number in error
print("Test 5: Checking exact error location")
def test_exact_pattern():
mcrfpy.createScene("dijkstra_demo")
dijkstra_demo = mcrfpy.Scene("dijkstra_demo")
grid = mcrfpy.Grid(grid_x=25, grid_y=15)
grid.fill_color = mcrfpy.Color(0, 0, 0)