mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-07-04 19:23:10 +02:00
- Add test for JSONDecodeError fallback dictionary loading - Add test for game initialization (__init__) - Add tests for handle_click on letter, enter button, and reset button - Add tests for drawing methods (_draw_text_line, _draw_button, _draw_keyboard, _draw_ui) - Add extensive tests for game loop (run) covering: - QUIT event handling - Mouse click events - ENTER key submission - R key reset - Letter key presses - Right click ignored - Special key ignored - Unknown event type ignored Coverage improved from 58% to 97%. Remaining uncovered lines are: - Line 351: Unreachable defensive code (force submit when no moves) - Lines 398-404: Unreachable dead code (hover color branch) |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_main.py | ||