summaryrefslogtreecommitdiff
path: root/test/branchs.lorth
diff options
context:
space:
mode:
authormRnea <[email protected]>2024-08-03 12:03:58 +0300
committermRnea <[email protected]>2024-08-03 12:03:58 +0300
commit38927a2169b9a99b0936122121ba849e109248df (patch)
treec6764b7875e1935be52feab378fe5d452a2344f5 /test/branchs.lorth
parent8713ffbd95483fc8b6778fb2d4d67659b6217c42 (diff)
added some basic tests
Diffstat (limited to 'test/branchs.lorth')
-rw-r--r--test/branchs.lorth62
1 files changed, 62 insertions, 0 deletions
diff --git a/test/branchs.lorth b/test/branchs.lorth
new file mode 100644
index 0000000..41eaf96
--- /dev/null
+++ b/test/branchs.lorth
@@ -0,0 +1,62 @@
+;;; test
+;;; (format nil "~{~a~%~}" '(1 2 3 4 5))
+
+34 36 +
+eş 70 = ise 1 dump
+yoksa eş 68 = ise
+ 1 ise
+ 2 dump
+ yoksa
+ 3 dump
+ yap
+yoksa eş 69 = ise 4 dump
+yoksa 5 dump
+yap yap yap
+
+34 34 +
+eş 70 = ise 1 dump
+yoksa eş 68 = ise
+ 1 ise
+ 2 dump
+ yoksa
+ 3 dump
+ yap
+yoksa eş 69 = ise 4 dump
+yoksa 5 dump
+yap yap yap
+
+34 34 +
+eş 70 = ise 1 dump
+yoksa eş 68 = ise
+ 0 ise
+ 2 dump
+ yoksa
+ 3 dump
+ yap
+yoksa eş 69 = ise 4 dump
+yoksa 5 dump
+yap yap yap
+
+34 35 +
+eş 70 = ise 1 dump
+yoksa eş 68 = ise
+ 1 ise
+ 2 dump
+ yoksa
+ 3 dump
+ yap
+yoksa eş 69 = ise 4 dump
+yoksa 5 dump
+yap yap yap
+
+34 420 +
+eş 70 = ise 1 dump
+yoksa eş 68 = ise
+ 1 ise
+ 2 dump
+ yoksa
+ 3 dump
+ yap
+yoksa eş 69 = ise 4 dump
+yoksa 5 dump
+yap yap yap \ No newline at end of file