Adds test for integer arithmetic.

This commit is contained in:
Jacob Signorovitch 2025-02-07 17:33:18 -05:00
parent 3678940537
commit a6be116a2d

View File

@ -112,3 +112,8 @@ bin() { ./scl.out $1 | tail -n1; }
# run bin "f(n)=2*n; f(2)"
# [ "$output" = "= 4.000000" ]
#}
@test "integer arithmetic" {
run bin "x:int=1"
[ "$output" = "= 1" ]
}