Skip to content

Commit

Permalink
Remove trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Dec 31, 2016
1 parent b5049e0 commit d182fdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions S32-num/fatrat.t
Expand Up @@ -37,7 +37,7 @@ isa-ok 1R, FatRat, "1R is a FatRat";
is 1R, 1, "1R == 1";
isa-ok 1/4R, FatRat, "1/4R is a FatRat";
is 1/4R, 1/4, "1/4R == 1/4";

# Test basic math
is(1 / 4R + 1 / 4R, 1/2, "1/4R + 1/4R = 1/2");
isa-ok(1 / 4R + 1 / 4R, FatRat, "1/4R + 1/4R is a FatRat");
Expand Down Expand Up @@ -87,7 +87,7 @@ is((2 / (2 / 3R)).nude, (3, 1), "2 / 2/3R = 3 is simplified internally");

{
# use numbers that can be exactly represented as floating points
# so there's no need to use is-approx
# so there's no need to use is-approx

my $a = 1/2R;
is ++$a, 3/2, 'prefix:<++> on FatRats';
Expand Down

0 comments on commit d182fdc

Please sign in to comment.