Added final tests. All VVhitespace commands now have a basic test.
[vvhitespace] / tests / 5004_io_input_digit.pvvs
diff --git a/tests/5004_io_input_digit.pvvs b/tests/5004_io_input_digit.pvvs
new file mode 100644 (file)
index 0000000..53d48bf
--- /dev/null
@@ -0,0 +1,8 @@
+# This test verifies the input/output IMP input digit.
+
+SSSTN           | ST: Push +1
+TNTT            | IO: Input digit
+SSSTN           | ST: Push +1
+TTT             | HP: Load
+TNST            | IO: Output digit
+NNN             | FC: Terminate program