mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-07-04 14:43:01 +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) |
||
|---|---|---|
| .github/workflows | ||
| .vscode | ||
| articles | ||
| Bash/ffmpeg-build | ||
| C | ||
| CPP | ||
| LaTeX | ||
| poker_modifier_app | ||
| python_pkg | ||
| sonic_pi | ||
| TS | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| lint_python.sh | ||
| pyproject.toml | ||
| pytest.ini | ||
| requirements-dev.txt | ||
| requirements.txt | ||
| test_input_clean.wav | ||
| test_input.wav | ||