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
/
1004_stack_drop.pvvs
diff --git a/tests/1004_stack_drop.pvvs
b/tests/1004_stack_drop.pvvs
new file mode 100644
(file)
index 0000000..
55dd6b6
--- /dev/null
+++ b/
tests/1004_stack_drop.pvvs
@@ -0,0
+1,7
@@
+# This test verifies stack IMP drop.
+
+SSSTSSSSSTN | ST: Push +65 (ASCII A)
+SSSTSSSSTSN | ST: Push +66 (ASCII B)
+SNN | ST: Discard TOS
+TNSS | IO: Output character
+NNN | FC: Terminate program