Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fudge for nom.
  • Loading branch information
colomon committed Jul 26, 2011
1 parent a96302b commit 38f4adc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion S32-num/sign.t
Expand Up @@ -46,10 +46,11 @@ is(sign(Inf), 1, 'got correct sign for +Inf');
is(sign(-Inf), -1, 'got correct sign for -Inf');
isa_ok(sign(Inf), Int, 'got correct type for +Inf');
isa_ok(sign(-Inf), Int, 'got correct type for -Inf');
#?rakudo todo "Nom does not yet have a NaN framework in place"
is(sign(NaN),NaN, 'sign of NaN is NaN');


nok sign(Int).defined, 'sign(Int) is undefined';
#?rakudo skip "Test is kind of doubtful IMO -- colomon"
nok sign(3+4i).defined, 'sign(Complex) fails';

done;
Expand Down

0 comments on commit 38f4adc

Please sign in to comment.