about summary refs log tree commit diff stats
path: root/cpp/041scenario_test.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-04-17 09:56:04 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-04-17 09:56:04 -0700
commit9da1b126cc017e14035b94c4615d211e5bc4bb21 (patch)
treea69baf5f6b75be08e68003a725d33cd478659b56 /cpp/041scenario_test.mu
parentc8087de8d99a4c3c4264eb89e4d0b35a4fb2c816 (diff)
downloadmu-9da1b126cc017e14035b94c4615d211e5bc4bb21.tar.gz
1072
Diffstat (limited to 'cpp/041scenario_test.mu')
-rw-r--r--cpp/041scenario_test.mu9
1 files changed, 9 insertions, 0 deletions
diff --git a/cpp/041scenario_test.mu b/cpp/041scenario_test.mu
new file mode 100644
index 00000000..bf30ce8f
--- /dev/null
+++ b/cpp/041scenario_test.mu
@@ -0,0 +1,9 @@
+# tests for 'scenario' in previous layer
+scenario first_scenario_in_mu [
+  run [
+    1:integer <- add 2:literal, 2:literal
+  ]
+  memory should contain [
+    1 <- 4
+  ]
+]