McRogueFace/tests
John McCardle 5d41292bf6 Timer refactor: stopwatch-like semantics, mcrfpy.timers collection closes #173
Major Timer API improvements:
- Add `stopped` flag to Timer C++ class for proper state management
- Add `start()` method to restart stopped timers (preserves callback)
- Add `stop()` method that removes from engine but preserves callback
- Make `active` property read-write (True=start/resume, False=pause)
- Add `start=True` init parameter to create timers in stopped state
- Add `mcrfpy.timers` module-level collection (tuple of active timers)
- One-shot timers now set stopped=true instead of clearing callback
- Remove deprecated `setTimer()` and `delTimer()` module functions

Timer callbacks now receive (timer, runtime) instead of just (runtime).
Updated all tests to use new Timer API and callback signature.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 22:09:18 -05:00
..
benchmarks update tests: new scene API 2026-01-03 10:59:52 -05:00
demo update tests: new scene API 2026-01-03 10:59:52 -05:00
geometry_demo update tests: new scene API 2026-01-03 10:59:52 -05:00
integration update tests: new scene API 2026-01-03 10:59:52 -05:00
notes update tests: new scene API 2026-01-03 10:59:52 -05:00
regression update tests: new scene API 2026-01-03 10:59:52 -05:00
unit Timer refactor: stopwatch-like semantics, mcrfpy.timers collection closes #173 2026-01-03 22:09:18 -05:00
vllm_demo update tests: new scene API 2026-01-03 10:59:52 -05:00
run_tests.py refactor: comprehensive test suite overhaul and demo system 2025-11-25 23:37:05 -05:00