Add tests for operators

This commit is contained in:
Joey Yakimowich-Payne 2018-06-02 12:55:11 +09:00
commit cab894a97e
6 changed files with 54 additions and 0 deletions

View file

@ -0,0 +1,19 @@
proc main(): cint =
a + b
a - b
(a * b)
a / b
a mod b
a shr b
a shl b
a and b
a or b
a xor b
a < b
a > b
a <= b
a >= b
a == b
a != b
(a and b)
a or b