aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGalin Simeonov <gts@volconst.com>2021-06-04 22:49:33 +0300
committerGalin Simeonov <gts@volconst.com>2021-07-15 18:07:29 +0300
commitc875f8795586056a676e8a643a44211041ce44d2 (patch)
tree88bfd4b4923ed30de31b130672dda65e4b18a607 /tests
parenta26684a417729699e95b335a3d00798237ffba9b (diff)
downloadMEGATRON-c875f8795586056a676e8a643a44211041ce44d2.tar.gz
various stuffs
Diffstat (limited to 'tests')
-rw-r--r--tests/.test6.swpbin12288 -> 0 bytes
-rw-r--r--tests/test615
2 files changed, 14 insertions, 1 deletions
diff --git a/tests/.test6.swp b/tests/.test6.swp
deleted file mode 100644
index dc85c11..0000000
--- a/tests/.test6.swp
+++ /dev/null
Binary files differ
diff --git a/tests/test6 b/tests/test6
index 3fed6d3..2b0411e 100644
--- a/tests/test6
+++ b/tests/test6
@@ -19,8 +19,21 @@ machine temp_switch
starting on A;
transitions
[
- from A to B on event A granted !light_bulb.light_on
+ from A to B on event A granted !light_bulb.light_on || temp_switch2.A
if !light_bulb.light_on
execute kek;
+ else
+ execute zeh | kek;
];
];
+machine temp_switch2
+[
+ states [A,B];
+ events [A];
+ starting on A;
+ transitions
+ [
+ from A to A on event A;
+ ];
+
+];