3 # Checking that testing is sane: equality and inequality
10 ($x eq $x) && say 'ok 1';
11 ($x ne $x) && say 'not ok 1';
12 ($x eq $x) || say 'not ok 2';
13 ($x ne $x) || say 'ok 2';
15 ($x == $x) && say 'ok 3';
16 ($x != $x) && say 'not ok 3';
17 ($x == $x) || say 'not ok 4';
18 ($x != $x) || say 'ok 4';