aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test')
-rw-r--r--tests/test16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/test b/tests/test
new file mode 100644
index 0000000..c976a6d
--- /dev/null
+++ b/tests/test
@@ -0,0 +1,16 @@
+machine flicker
+[
+ states [ light_off , light_on ];
+
+ starting on light_on;
+
+ events [ one_second ];
+ transitions
+ [
+ from light_on to light_off on event one_second
+ execute turn_off_light;
+ from light_off to light_on on event one_second
+ execute turn_on_light;
+ ];
+];
+