diff options
Diffstat (limited to 'www/wiki/extensions/AbuseFilter/tests/parserTests/mwexamples-bools.t')
-rw-r--r-- | www/wiki/extensions/AbuseFilter/tests/parserTests/mwexamples-bools.t | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/www/wiki/extensions/AbuseFilter/tests/parserTests/mwexamples-bools.t b/www/wiki/extensions/AbuseFilter/tests/parserTests/mwexamples-bools.t new file mode 100644 index 00000000..a8e88539 --- /dev/null +++ b/www/wiki/extensions/AbuseFilter/tests/parserTests/mwexamples-bools.t @@ -0,0 +1,13 @@ +/* Examples from [[mw:Extension:AbuseFilter/Rules format#Boolean operations]] */ + +(1 | 1) & +(1 | 0) & +!(0 | 0) & +(1 & 1) & +!(1 & 0) & +!(0 & 0) & +!(1 ^ 1) & +(1 ^ 0) & +!(0 ^ 0) & +!(!1) + |