Skip to content

Commit

Permalink
[S32-num] Add fudged test for NaN.Rat
Browse files Browse the repository at this point in the history
  • Loading branch information
leto committed Sep 13, 2010
1 parent 3dfdedd commit 2f690f9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion S32-num/rat.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 801;
plan 802;

# Basic test functions specific to rational numbers.

Expand Down Expand Up @@ -134,6 +134,9 @@ is_approx sin(5.0e0), sin(10/2), 'sin(Rat) works';

# SHOULD: Add NaN / Inf tests

#?rakudo todo "NaN.Rat == NaN"
is NaN.Rat, NaN, "NaN.Rat == NaN";

# RT #74648
isa_ok Inf.Int / 1, Rat, "Inf.Int / 1 is a Rat";

Expand Down

0 comments on commit 2f690f9

Please sign in to comment.