From ab55eee556ecbe6a8bd0a4f4cd92e38b021f6841 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 21 Apr 2025 16:50:40 -0400 Subject: Add `assert` --- test/integers.tm | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'test') 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) -- cgit v1.2.3