aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/integers.tm7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/integers.tm b/test/integers.tm
index 72a195b4..202c1e06 100644
--- a/test/integers.tm
+++ b/test/integers.tm
@@ -136,3 +136,10 @@ func main()
>> (4).factorial()
= 24
+
+ >> (3).is_between(1, 5)
+ = yes
+ >> (3).is_between(1, 3)
+ = yes
+ >> (3).is_between(100, 200)
+ = no