]> git.xonotic.org Git - xonotic/gmqcc.git/blob - tests/equality.qc
error about too many elements in initializer; added test for initialized arrays:...
[xonotic/gmqcc.git] / tests / equality.qc
1 void(float a, float b) main = {
2     if (a == b) print("eq,");
3     if (a != b) print("ne,");
4     if (a >  b) print("gt,");
5     if (a <  b) print("lt,");
6     if (a >= b) print("ge,");
7     if (a <= b) print("le,");
8 };