Changeset 21150
- Timestamp:
- 07/01/08 23:13:19 (3 months ago)
- Location:
- t/spec/S03-operators
- Files:
-
- 2 modified
-
numeric-context.t (modified) (1 diff)
-
short-circuit.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
t/spec/S03-operators/numeric-context.t
r21143 r21150 48 48 is(+'aNaNa', 0, "+'aNaNa' is 0"); 49 49 50 #?rakudo 3 todo 'Inf and NaN' 50 51 is( Inf, 'Inf', "'Inf' is Inf"); 51 52 is(-Inf, '-Inf', "'-Inf' is -Inf"); -
t/spec/S03-operators/short-circuit.t
r21141 r21150 137 137 138 138 # L<S03/Chained comparisons/Each argument chain will evaluate at most once> 139 #?rakudo todo 'chained comparison order of evaluations'140 139 { 141 140 my $x = 0; 142 141 my $y = 0; 142 #?rakudo todo 'chained comparison order of evaluations' 143 143 ok(($x++ < ++$y < ++$y), "chained comparison (truth - 1)"); 144 144 # expect x=1, y=2
