Navigation Menu

Skip to content

Commit

Permalink
Rat.ceiling unfudges
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed May 11, 2012
1 parent d2a6d88 commit 049170f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions S32-num/rounders.t
Expand Up @@ -115,7 +115,6 @@ for %tests.keys.sort -> $t {
my $big-rat = 1234567890123456789012345678903 / 2;
my $big-int = 1234567890123456789012345678903 div 2;
is $big-rat.floor, $big-int, "floor handles Rats properly";
#?rakudo todo 'Rat.ceiling'
is $big-rat.ceiling, $big-int + 1, "ceiling handles Rats properly";
is $big-rat.round, $big-int + 1, "round handles Rats properly";
is $big-rat.truncate, $big-int, "truncate handles Rats properly";
Expand All @@ -125,7 +124,6 @@ for %tests.keys.sort -> $t {
my $big-rat = FatRat.new(1234567890123456789012345678903, 2);
my $big-int = 1234567890123456789012345678903 div 2;
is $big-rat.floor, $big-int, "floor handles FatRats properly";
#?rakudo todo 'FatRat.ceiling'
is $big-rat.ceiling, $big-int + 1, "ceiling handles FatRats properly";
is $big-rat.round, $big-int + 1, "round handles FatRats properly";
is $big-rat.truncate, $big-int, "truncate handles FatRats properly";
Expand Down

0 comments on commit 049170f

Please sign in to comment.