projects
/
vvhitespace
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
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
+++ b/
tests/2002_arithmetic_subtraction.pvvs
@@ -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