diff options
author | Galin Simeonov <gts@volconst.com> | 2021-06-04 22:49:33 +0300 |
---|---|---|
committer | Galin Simeonov <gts@volconst.com> | 2021-07-15 18:07:29 +0300 |
commit | c875f8795586056a676e8a643a44211041ce44d2 (patch) | |
tree | 88bfd4b4923ed30de31b130672dda65e4b18a607 /tests | |
parent | a26684a417729699e95b335a3d00798237ffba9b (diff) | |
download | MEGATRON-c875f8795586056a676e8a643a44211041ce44d2.tar.gz |
various stuffs
Diffstat (limited to 'tests')
-rw-r--r-- | tests/.test6.swp | bin | 12288 -> 0 bytes | |||
-rw-r--r-- | tests/test6 | 15 |
2 files changed, 14 insertions, 1 deletions
diff --git a/tests/.test6.swp b/tests/.test6.swp Binary files differdeleted file mode 100644 index dc85c11..0000000 --- a/tests/.test6.swp +++ /dev/null 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; + ]; + +]; |