Add comprehensive test suite for game mechanics and level handling
- Introduced `test_final_level_flow.py` to validate final level transitions and game end scenarios. - Created `test_game_over_flow.py` to ensure game over conditions trigger correctly based on rat counts. - Implemented `test_keybindings.py` to verify keybinding configurations and their context-specific actions. - Developed `test_level_editor.py` to assess level editor functionalities and layout computations. - Added `test_level_io.py` for testing level data serialization and deserialization. - Established `test_loop_logic_parity.py` to ensure consistent game state across multiple simulation runs. - Created `test_non_regression.py` to simulate game behavior and capture states for future verification. - Implemented `test_verify.py` to compare current game states against a golden master for regression detection.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import sdl2
|
||||
print("SDL2 imported")
|
||||
import sdl2.ext
|
||||
print("SDL2.ext imported")
|
||||
import PIL
|
||||
print("Pillow imported")
|
||||
import numpy
|
||||
print("Numpy imported")
|
||||
import yaml
|
||||
print("Yaml imported")
|
||||
Reference in New Issue
Block a user