Mainly to get rid of one top level directory. But this will also be useful when there are tests of the embedding API.
9 lines
172 B
Plaintext
9 lines
172 B
Plaintext
// Infix.
|
|
IO.print(5 - 3) // expect: 2
|
|
IO.print(3.1 - 0.24) // expect: 2.86
|
|
IO.print(3 - 2 - 1) // expect: 0
|
|
|
|
// Unary negation.
|
|
var a = 3
|
|
IO.print(-a) // expect: -3
|