flitter/tests/generators/nim/test_operator_binary.nim
Joey Yakimowich-Payne cab894a97e Add tests for operators
2018-06-02 12:55:11 +09:00

19 lines
186 B
Nim

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