summaryrefslogtreecommitdiff
path: root/test_state/test_state_test.icl
diff options
context:
space:
mode:
authorCamil Staps2015-07-06 21:06:51 +0200
committerCamil Staps2015-07-06 21:06:51 +0200
commit4a31652c90eb68344b189d3885b110511d8db73b (patch)
treee0c3d33ca11ca7e8551f81b05004bd3039cb2820 /test_state/test_state_test.icl
parentgtk test (diff)
Test state
Diffstat (limited to 'test_state/test_state_test.icl')
-rw-r--r--test_state/test_state_test.icl10
1 files changed, 10 insertions, 0 deletions
diff --git a/test_state/test_state_test.icl b/test_state/test_state_test.icl
new file mode 100644
index 0000000..680370e
--- /dev/null
+++ b/test_state/test_state_test.icl
@@ -0,0 +1,10 @@
+module test_state_test
+
+import StdEnv, test_state
+
+Start :: *World -> Int
+Start world
+# state = 10
+# (i, state) = store 5 10 15 state
+# (i, state) = store 10 20 30 state
+= i