Commit Graph

4 Commits

Author SHA1 Message Date
Steven Wroblewski
286498804d test(room-navigator): add missing is_at_home and go_to_hospital tests
Adds 7 new test cases covering home/hospital navigation state:
- is_at_home() initial state and transitions
- go_to_home() with idempotence check
- go_to_hospital() state restoration and guards
- is_at_home flag cleanup on room navigation

Implements corresponding methods in RoomNavigator:
- is_at_home(): Returns home state
- go_to_home(): Navigates to home (0,0) and saves hospital position
- go_to_hospital(): Returns to previously saved hospital location
- _go_to_room_internal(): Helper to avoid flag interference

All 34 tests passing.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 22:41:59 +02:00
Steven Wroblewski
297b57a3c1 test(room-navigator): add unit tests for floor/room state and camera navigation 2026-04-17 22:39:09 +02:00
Steven Wroblewski
e3a93d3c52 test(game-state): add unit tests for character positions, object states, and save round-trip 2026-04-17 22:36:53 +02:00
Steven Wroblewski
978c8a5c80 chore(tooling): add GUT test infrastructure and smoke test
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 22:35:08 +02:00