mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
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:
parent
90281a2423
commit
621a90d248
14 changed files with 312 additions and 9 deletions
31
testing/btest/Baseline/language.precedence/out
Normal file
31
testing/btest/Baseline/language.precedence/out
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue