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>
1.9 KiB
1.9 KiB