Skip to main content

✅ Quick window open close

CategoryAbility
StatusPassing
Testtests/test_action_timing.py::test_quick_window_open_close

Engine behavior test.

Preconditions

  • Fresh game state

Action

  • open_quick_window(state), close_quick_window(opened)

Expected Postconditions

  • is_quick_window_open reflects the flag correctly after each call.

  • Original states unchanged (copy-on-write).

Assertions

assert is_quick_window_open(state) is False
assert is_quick_window_open(opened) is True
assert is_quick_window_open(closed) is False