Lines Matching full:not
11 # not() tests
12 pass("logical negation of empty list") if not();
13 is(not(), 1, "logical negation of empty list in numeric comparison");
14 is(not(), not(0),
17 # test not(..) and !
19 is(! 1, (not 1),
21 is(! 0, (not 0),
23 is(! (0, 0), not(0, 0),
46 # test the return of not
48 my $not0 = not 0;
49 my $not1 = not 1;
73 is not($a), 1, 'not(dualvar) ignores int when string is false';
75 is not($b), 1, 'not(dualvar) ignores float when string is false';
77 is not($c), "", 'not(dualvar) ignores false int when string is true';
81 is not(${qr//}), "", 'dereferenced regexps are true';
83 # not’s return value should be read-only, as it is the same global scalar
85 *yes = \not 0;
86 *no = \not 1;
89 'not 0 is read-only';
92 'not 1 is read-only';