Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fudge fatrat.t for rakudo
  • Loading branch information
moritz committed Feb 13, 2012
1 parent 4457dc4 commit 95584f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions S32-num/fatrat.t
Expand Up @@ -178,6 +178,7 @@ isa_ok (1/2R).FatRat, FatRat, '... and actually returns a FatRat';
ok 1/2R === 1/2R, 'FatRats are value types, so 1/2R === 1/2R';
ok 1/2R !=== 1/3R, '=== with false outcome';

#?rakudo skip 'FatRat arith + type objects'
{
my FatRat $a;
$a += 0.1 for ^10;
Expand All @@ -187,6 +188,7 @@ ok 1/2R !=== 1/3R, '=== with false outcome';

ok 16/5R eqv 16/5R, 'infix:<eqv> works with FatRats';

#?rakudo todo 'unknown'
isa_ok .88888888888R.WHAT.gist, 'FatRat()', 'WHAT works on FatRat created from 11 digit decimal fraction';

{
Expand Down

0 comments on commit 95584f8

Please sign in to comment.