aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test5
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/test5
parentb845e4754be86d2216733d9bea75cb301f38739d (diff)
downloadMEGATRON-a26684a417729699e95b335a3d00798237ffba9b.tar.gz
added the if statement
Diffstat (limited to 'tests/test5')
-rw-r--r--tests/test57
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/test5 b/tests/test5
index fc9ff67..fb72d41 100644
--- a/tests/test5
+++ b/tests/test5
@@ -5,7 +5,10 @@ machine A
starting on A;
transitions
[
- from A to A on event A given (B.C && !C.D)
- execute eke;
+ from A to A on event A
+ if (A.A && !A.A)
+ execute eke;
+ else
+ execute asdf;
];
];