aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test4
diff options
context:
space:
mode:
authorGalin Simeonov <gts@volconst.com>2021-06-04 16:42:52 +0300
committerGalin Simeonov <gts@volconst.com>2021-07-15 18:04:59 +0300
commita26684a417729699e95b335a3d00798237ffba9b (patch)
tree6cd73bc90fbe5fd435b8cc721455d0a70420a4ac /tests/test4
parentb845e4754be86d2216733d9bea75cb301f38739d (diff)
downloadMEGATRON-a26684a417729699e95b335a3d00798237ffba9b.tar.gz
added the if statement
Diffstat (limited to 'tests/test4')
-rw-r--r--tests/test44
1 files changed, 3 insertions, 1 deletions
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;
];
];