Add more language tests

Added tests for the conditional operator, operator precedence,
modules ("module" and "export" keywords, and the "::" operator), and
for the "copy" keyword.

Also improved tests of max/min values of int, count, and double constants.
This commit is contained in:
Daniel Thayer 2012-08-29 17:14:03 -05:00
parent 90281a2423
commit 621a90d248
14 changed files with 312 additions and 9 deletions

View file

@ -0,0 +1,31 @@
++ and * (PASS)
++ and * (PASS)
* and ++ (PASS)
* and % (PASS)
* and % (PASS)
* and % (PASS)
% and * (PASS)
% and * (PASS)
% and * (PASS)
+ and * (PASS)
+ and * (PASS)
+ and * (PASS)
< and + (PASS)
< and + (PASS)
+ and < (PASS)
+ and < (PASS)
+= and + (PASS)
+= and + (PASS)
+= and + (PASS)
&& and || (PASS)
&& and || (PASS)
&& and || (PASS)
|| and && (PASS)
|| and && (PASS)
|| and && (PASS)
|| and conditional operator (PASS)
|| and conditional operator (PASS)
|| and conditional operator (PASS)
conditional operator and || (PASS)
conditional operator and || (PASS)
conditional operator and || (PASS)