aboutsummaryrefslogtreecommitdiffstats
path: root/tests/simple-if.forth
diff options
context:
space:
mode:
authordan <[email protected]>2023-05-29 10:54:33 -0400
committerdan <[email protected]>2023-05-29 10:54:33 -0400
commit8151ce5ffec4283a3bc1eeea52b8f9b17cb5d069 (patch)
tree6acc9920cc286346952d5a14a9111722dc8aaee9 /tests/simple-if.forth
parent1cc9bd9d82f970aba524ff57d9b67e9efac47ce9 (diff)
downloadforth-8151ce5ffec4283a3bc1eeea52b8f9b17cb5d069.tar.gz
forth-8151ce5ffec4283a3bc1eeea52b8f9b17cb5d069.tar.bz2
forth-8151ce5ffec4283a3bc1eeea52b8f9b17cb5d069.zip
tests: add initial tests and test runner script
Diffstat (limited to 'tests/simple-if.forth')
-rw-r--r--tests/simple-if.forth5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/simple-if.forth b/tests/simple-if.forth
new file mode 100644
index 0000000..668ea0d
--- /dev/null
+++ b/tests/simple-if.forth
@@ -0,0 +1,5 @@
+INPUT
+1 1 = if 5 . then 8 .
+OUTPUT
+5
+8