Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[base.t] Test for RT 11290
  • Loading branch information
kyleha committed May 14, 2012
1 parent 9c53615 commit 03de2f7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion S32-num/base.t
@@ -1,7 +1,7 @@
use v6;
use Test;

plan 11;
plan 12;

is 0.base(8), '0', '0.base(something)';
# RT #112872
Expand All @@ -13,6 +13,11 @@ is 35.base(36), 'Z', '35.base(36)';
is 36.base(36), '10', '36.base(36)';
is (-12).base(16), '-C', '(-12).base(16)';

# RT 112900
is (1/10000000000).base(3),
'0.0000000000000000000010', # is the trailing zero correct?
'(1/10000000000).base(3) (RT 112900)';

#?niecza 3 skip 'Real.base NYI'
is (3.25).base(16), '3.4', '(3.25).base(16)';
is (10.5).base(2), '1010.1', '(10.5).base(2)';
Expand Down

0 comments on commit 03de2f7

Please sign in to comment.