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
/
2001_arithmetic_addition.pvvs
diff --git a/tests/2001_arithmetic_addition.pvvs
b/tests/2001_arithmetic_addition.pvvs
new file mode 100644
(file)
index 0000000..
40b3c82
--- /dev/null
+++ b/
tests/2001_arithmetic_addition.pvvs
@@ -0,0
+1,7
@@
+# This test verifies arithmetic IMP addition.
+
+SSSTSSSSSTN | ST: Push +65 (ASCII A)
+SSSTN | ST: Push +1
+TSSS | MA: Add
+TNSS | IO: Output character
+NNN | FC: Terminate program