From a26684a417729699e95b335a3d00798237ffba9b Mon Sep 17 00:00:00 2001 From: Galin Simeonov Date: Fri, 4 Jun 2021 16:42:52 +0300 Subject: added the if statement --- tests/test4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/test4') diff --git a/tests/test4 b/tests/test4 index 579e54d..4610e2c 100644 --- a/tests/test4 +++ b/tests/test4 @@ -19,6 +19,8 @@ machine temp_switch starting on A; transitions [ - from ( !A && !light_on ) to B on event A execute kek; + from A to B on event A + if !light_bulb.light_on + execute kek; ]; ]; -- cgit v1.2.3