From d743bd67b6512046173098bbba8daff28553789b Mon Sep 17 00:00:00 2001 From: Takeshi Date: Tue, 20 Oct 2026 15:48:08 +0900 Subject: [PATCH] P06-02: Assert no SERVICE_SALE events during the natural outage Review r1 noted the facility revenue balance is swept immediately; the event check proves no sale directly. Co-Authored-By: Claude Opus 5.5 --- tests/mvp/test_whole_tower_outage.gd | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/mvp/test_whole_tower_outage.gd b/tests/mvp/test_whole_tower_outage.gd index 2ce4424..087c717 100644 --- a/tests/mvp/test_whole_tower_outage.gd +++ b/tests/mvp/test_whole_tower_outage.gd @@ -145,6 +145,7 @@ func _write() -> void: _expect(_runtime.economy_service.get_balance(&"PLAYER_CASH") <= int(before["cash"]), "no income reaches the tower during the outage") _expect(after["meals"] == before["meals"] and after["raw_food"] == before["raw_food"], "no production and no lost stock during the outage") _expect(_events_since(started, [&"GUEST_SPAWNED", &"GUEST_AUTO_ARRIVED"]) == 0, "no admissions during the outage") + _expect(_events_since(started, [&"SERVICE_SALE", &"CASH_SWEEP"]) == 0, "no service sale or revenue sweep event during the outage") _expect(_events_since(started, [&"WARP_TRAVELED"]) == 0, "no warp travel during the outage") _expect(_events_since(started, [&"ELEVATOR_BOARDED"]) == 0, "no elevator boarding during the outage") var departed := {}