Skip to content

Commit

Permalink
Convert to tickets for Rakudo
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Dec 1, 2011
1 parent f7eced4 commit 13261a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion S03-operators/overflow.t
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ sub tryeq_sloppy ($lhs, $rhs, $todo1 = '') {

is(:8<37777777777>, 0xffff_ffff, 'got the correct int value from oct 3777777777');
is +":16<DeAdBeEf>", 0xDEADBEEF, "radix 16 notation works";
#?rakudo todo 'nom regression'
#?rakudo todo 'RT #105116'
is +":16<dead_beef.face>", 0xDEADBEEF + 0xFACE / 65536.0, "fractional base 16 works";

is( :2<1.1> * 10 ** 10, 15_000_000_000, 'binary number to power of 10' );
Expand Down
6 changes: 3 additions & 3 deletions S32-list/minmax.t
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ is (@array.min: { abs $^a }), 0,
is min(:by({ $^a.abs }), @array), 0,
"subroutine form of min taking a comparison block works";

#?rakudo 2 skip "Range.min not fully implemented yet"
#?rakudo 2 skip "Range.min not fully implemented yet (RT #105118)"
is ((-10..10).min: { abs $^a <=> abs $^b }), 0,
"method form of min on Ranges taking a comparison block works";

Expand All @@ -52,7 +52,7 @@ is (@array.max: { $^a <=> $^b }), 7,

is max(@array), 7, 'sub form of max';

#?rakudo skip "Range.max not fully implemented yet"
#?rakudo skip "Range.max not fully implemented yet (RT #105118)"
is ((-10..9).max: { abs $^a <=> abs $^b }), -10,
"method form of max on Ranges taking a comparison block works";

Expand All @@ -72,7 +72,7 @@ is (@array.max: { $^a.abs }), -9,
is max(:by({ $^a.abs }), @array), -9,
"subroutine form of max taking a modifier block works";

#?rakudo skip "Range.max not fully implemented yet"
#?rakudo skip "Range.max not fully implemented yet (RT #105118)"
is ((1..10).max: { ($_-3) * ($_-5) }), 10,
"method form of max taking an arity-1 comparison block works";

Expand Down

0 comments on commit 13261a2

Please sign in to comment.