Adds test for integer arithmetic.
This commit is contained in:
parent
3678940537
commit
a6be116a2d
@ -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" ]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user