aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-04-21 16:50:40 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-04-21 16:50:40 -0400
commitab55eee556ecbe6a8bd0a4f4cd92e38b021f6841 (patch)
tree47c339c48c9aaeffb931588c1b6241d35690c5a2 /test
parentf2eab0d205d1a60e9ce7a8e2420196e12d7eed10 (diff)
Add `assert`
Diffstat (limited to 'test')
-rw-r--r--test/integers.tm12
1 files changed, 4 insertions, 8 deletions
diff --git a/test/integers.tm b/test/integers.tm
index 202c1e06..6fdf809c 100644
--- a/test/integers.tm
+++ b/test/integers.tm
@@ -1,15 +1,11 @@
func main()
- >> 2 + 3
- = 5
+ assert 2 + 3 == 5
- >> 2 * 3
- = 6
+ assert 2 * 3 == 6
- >> 2 + 3 * 4
- = 14
+ assert 2 + 3 * 4 == 14
- >> 2 * 3 + 4
- = 10
+ assert 2 * 3 + 4 == 10
>> Int8(1) + Int16(2)
= Int16(3)