aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-24 12:40:56 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-24 12:40:56 -0400
commita56ce0435d5f382bc26b53a51e56d8b52624139e (patch)
tree5a52ef2b194cde2930f86deff668d0db671bbe5a /test
parentd2ef94104e1fc47b7e344c97a55dc8cef106f94b (diff)
Support Int(yes/no)
Diffstat (limited to 'test')
-rw-r--r--test/integers.tm10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/integers.tm b/test/integers.tm
index 363fdfdd..eb0c3fed 100644
--- a/test/integers.tm
+++ b/test/integers.tm
@@ -111,3 +111,13 @@ func main():
292590241572454328697048860273*754893741683930091960170890717,
]
= no
+
+ >> Int(yes)
+ = 1
+ >> Int(no)
+ = 0
+
+ >> Int64(yes)
+ = 1[64]
+ >> Int64(no)
+ = 0[64]