From 6e2d661b3937675b5ac8fdba121678ec0ccc6385 Mon Sep 17 00:00:00 2001 From: chexit Date: Tue, 3 Nov 2026 00:02:52 +0300 Subject: [PATCH] test: exercise radar silence through the real WASM boundary Co-authored-by: Codex --- airdef-mod/tests/wasm_contract.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/airdef-mod/tests/wasm_contract.toml b/airdef-mod/tests/wasm_contract.toml index c88f4a7..c7d6402 100644 --- a/airdef-mod/tests/wasm_contract.toml +++ b/airdef-mod/tests/wasm_contract.toml @@ -47,6 +47,18 @@ expect.feedback = "№4 РЛС: роль search" command = "airdef radar 4 engagement" expect.feedback = "№4 РЛС: роль engagement" +[[step]] +command = "airdef radar 4 off" +expect.feedback = "№4 РЛС дальнего обнаружения: излучение РЛС off" + +[[step]] +command = "airdef radar 4 on" +expect.feedback = "№4 РЛС дальнего обнаружения: излучение РЛС on" + +[[step]] +command = "airdef radar 2 off" +expect.error = "У комплекса нет активной РЛС" + [[step]] command = "airdef deploy s500_launcher"