aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
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)