From f857f38f718fff586e373815a1bcad2701b4d983 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 7 Apr 2025 01:17:02 -0400 Subject: Add `is_between()` for various types --- test/integers.tm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test') 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 -- cgit v1.2.3