aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-02-23 13:36:16 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-02-23 13:36:16 -0500
commit4df2f8e4cba30b2b38da005926fc8d49ab7ff45e (patch)
treefa534ad4f3cfaa815415fef53eb60a08e8fd3309 /tests
parent4c4059aa43ffa3b9cf0ac55a99b6134b7e931415 (diff)
More tests
Diffstat (limited to 'tests')
-rw-r--r--tests/arrays.nl3
-rw-r--r--tests/integers.nl6
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/arrays.nl b/tests/arrays.nl
index bbe36e42..0c118364 100644
--- a/tests/arrays.nl
+++ b/tests/arrays.nl
@@ -1,3 +1,6 @@
+>> [:Num32]
+= [] : [Num32]
+
>> arr := [10, 20, 30]
= [10, 20, 30]
diff --git a/tests/integers.nl b/tests/integers.nl
index 2b2cd92a..c20d08e6 100644
--- a/tests/integers.nl
+++ b/tests/integers.nl
@@ -25,3 +25,9 @@
>> 3 xor 2
= 1
+
+nums := ""
+for x in 5
+ nums ++= "{x},"
+>> nums
+= "1,2,3,4,5,"