Skip to content

Commit

Permalink
Test for RT 83446
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleha committed Jul 27, 2011
1 parent 26737fc commit 5dcf3af
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion S02-builtin_data_types/nan.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 18;
plan 19;

# Undeterminate Math results
# see L<"http://mathworld.wolfram.com/Indeterminate.html">
Expand Down Expand Up @@ -45,4 +45,7 @@ ok NaN + 1i ~~ (NaN)i, "NaN + 1i ~~ (NaN)i";
#?rakudo todo 'nom regression'
ok truncate(NaN) ~~ NaN, 'truncate(NaN) ~~ NaN';

#?rakudo skip 'RT 83446'
ok (my Int $rt83446 = NaN) ~~ NaN, 'NaN fits in Int';

# vim: ft=perl6

0 comments on commit 5dcf3af

Please sign in to comment.