aboutsummaryrefslogtreecommitdiff
path: root/test/nums.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-04-22 14:49:36 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-04-22 14:49:36 -0400
commit5fd85d7e0bd7bc9c9c42c8b3ecbc35a2d0329e41 (patch)
treedc301107fd6b2f9f4d3ee314afaaee6e3aac0402 /test/nums.tm
parentd2348f0894e9ad6a7d3110407ef0fcadf3ff8973 (diff)
Add Num.mix()
Diffstat (limited to 'test/nums.tm')
-rw-r--r--test/nums.tm5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/nums.tm b/test/nums.tm
index 766cfb48..aee7c688 100644
--- a/test/nums.tm
+++ b/test/nums.tm
@@ -48,3 +48,8 @@ func main()
>> Num32.sqrt(16f32)
= 4_f32
+
+ >> 0.25:mix(10, 20)
+ = 12.5
+ >> 2.0:mix(10, 20)
+ = 30