Added basic tests for stack and arithmetic IMPs.
[vvhitespace] / tests / 2002_arithmetic_subtraction.pvvs
diff --git a/tests/2002_arithmetic_subtraction.pvvs b/tests/2002_arithmetic_subtraction.pvvs
new file mode 100644 (file)
index 0000000..574e6e1
--- /dev/null
@@ -0,0 +1,7 @@
+# This test verifies arithmetic IMP subtraction.
+
+SSSTSSSSTSN     | ST: Push +66 (ASCII B)
+SSSTN           | ST: Push +1
+TSST            | MA: Subtract
+TNSS            | IO: Output character
+NNN             | FC: Terminate program