McRogueFace/tests
John McCardle cb0130b46e Implement sprite index validation for Issue #33
Added validation to prevent setting sprite indices outside the valid
range for a texture. The implementation:
- Adds getSpriteCount() method to PyTexture to expose total sprites
- Validates sprite_number setter to ensure index is within bounds
- Provides clear error messages showing valid range
- Works for both Sprite and Entity objects

closes #33
2025-07-03 21:09:06 -04:00
..
WORKING_automation_test_example.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
api_createScene_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
api_keypressScene_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
api_registerPyAction_issue2_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
api_sceneUI_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
api_setScene_currentScene_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
api_timer_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
automation_click_issue78_analysis.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
automation_click_issue78_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
automation_screenshot_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
automation_screenshot_test_simple.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
debug_render_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
empty_script.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
entity_property_setters_test.py Fix Entity property setters and PyVector implementation 2025-07-03 20:27:32 -04:00
entity_setter_simple_test.py Fix Entity property setters and PyVector implementation 2025-07-03 20:27:32 -04:00
exit_immediately_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
force_non_interactive.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
issue27_entity_extend_test.py Implement EntityCollection.extend() method for Issue #27 2025-07-03 21:05:47 -04:00
issue33_sprite_index_validation_test.py Implement sprite index validation for Issue #33 2025-07-03 21:09:06 -04:00
issue73_entity_index_test.py Implement Entity.index() method for Issue #73 2025-07-03 21:02:14 -04:00
issue73_simple_index_test.py Implement Entity.index() method for Issue #73 2025-07-03 21:02:14 -04:00
issue74_grid_xy_properties_test.py Fix Issue #74: Add missing Grid.grid_y property 2025-07-03 19:48:33 -04:00
issue78_middle_click_fix_test.py Fix Issue #78: Middle mouse click no longer sends 'C' keyboard event 2025-07-03 19:42:32 -04:00
keypress_scene_validation_test.py Add validation to keypressScene() for non-callable arguments 2025-07-03 20:41:03 -04:00
screenshot_transparency_fix_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
simple_timer_screenshot_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
sprite_texture_setter_test.py Fix Sprite texture setter 'error return without exception set' 2025-07-03 20:31:36 -04:00
test_stdin_theory.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
trace_exec_behavior.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
trace_interactive.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
ui_Entity_issue73_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
ui_Frame_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
ui_Frame_test_detailed.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
ui_Grid_none_texture_test.py Fix Grid to support None/null texture and fix error message bug 2025-07-03 19:40:42 -04:00
ui_Grid_null_texture_test.py Fix Grid to support None/null texture and fix error message bug 2025-07-03 19:40:42 -04:00
ui_Grid_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
ui_Grid_test_no_grid.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
ui_Grid_test_simple.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
ui_Sprite_issue19_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
ui_UICollection_issue69_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
validate_screenshot_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
working_timer_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00