aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-12-24 14:20:55 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-12-24 14:20:55 -0500
commit695049bef9f6c528261d4223b21a57104deb3d9c (patch)
tree114747d0a0741951bb072741b529cbb0ef09eafa /test
parent9e0017e86ed28ccc2f855807f387a1e451260d85 (diff)
Add integer tests
Diffstat (limited to 'test')
-rw-r--r--test/integers.tm6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/integers.tm b/test/integers.tm
index 02ae519b..bf15380c 100644
--- a/test/integers.tm
+++ b/test/integers.tm
@@ -130,3 +130,9 @@ func main():
= 1 : Int64
>> Int64(no)
= 0 : Int64
+
+ >> 4:choose(2)
+ = 6
+
+ >> 4:factorial()
+ = 24