Skip to content

Commit

Permalink
Revert "Refudge for latest niecza changes. :(" -- sorear++ fixed the …
Browse files Browse the repository at this point in the history
…bug.

This reverts commit 132c888.
  • Loading branch information
colomon committed Dec 22, 2011
1 parent 132c888 commit 9b20e72
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions S02-literals/radix.t
Expand Up @@ -101,7 +101,6 @@ is(:16('0d37'), 0x0D37, ":16('0d37') uses d as hex digit" );

# L<S02/General radices/"Any radix may include a fractional part">

#?niecza skip "Unable to resolve method postcircumfix:<( )> in class Str"
is(:16<dead_beef.face>, 0xDEAD_BEEF + 0xFACE / 65536.0, 'Fractional base 16 works' );


Expand Down Expand Up @@ -179,14 +178,13 @@ eval_dies_ok '0b1.1e10', 'Ambiguous, illegal syntax doesn\'t work';

# L<S02/Exponentials/"and this makes it explicit">
# probably don't need a test, but I'll write tests for any example :)
#?niecza 2 skip "Unable to resolve method postcircumfix:<( )> in class Str"
#?niecza 2 todo "Returning fraction instead of straight int"
is( :2<1.1> * 2 ** 10, 1536, 'binary number to power of 2' );
is( :2<1.1> * :2<10> ** :2<10>, 6, 'multiplication and exponentiation' );

# L<S02/Exponentials/"So we write those as">
# these should be the same values as the previous tests
#?pugs todo 'feature'
#?niecza skip "Unable to resolve method postcircumfix:<( )> in class Str"
{
#?niecza todo "base and radix NYI"
is( :2<1.1*2**10>, 1536, 'Power of two in <> works');
Expand Down

0 comments on commit 9b20e72

Please sign in to comment.