Added basic tests for stack and arithmetic IMPs.
[vvhitespace] / tests / 1002_stack_dup.pvvs
diff --git a/tests/1002_stack_dup.pvvs b/tests/1002_stack_dup.pvvs
new file mode 100644 (file)
index 0000000..f405eeb
--- /dev/null
@@ -0,0 +1,7 @@
+# This test verifies stack IMP duplicate.
+
+SSSTSSSSSTN     | ST: Push +65 (ASCII A)
+SNS             | ST: Duplicate TOS
+TNSS            | IO: Output character
+TNSS            | IO: Output character
+NNN             | FC: Terminate program