Permalink
Browse files

Rat.ceiling unfudges

  • Loading branch information...
1 parent d2a6d88 commit 049170f25358b171fe7b7f04193db1ce3efb8ab5 @moritz moritz committed May 11, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 S32-num/rounders.t
View
@@ -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";
@@ -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";

0 comments on commit 049170f

Please sign in to comment.