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,21 @@
int main() {
a + b;
a - b;
(a * b);
a / b;
a % b;
a >> b;
a << b;
a && b;
a || b;
a ^ b;
a < b;
a > b;
a <= b;
a >= b;
a == b;
a != b;
(a & b);
a | b;
}