re-enable double conversion test and make expected value match actual which is fine because this is also the behavior of std::ostringstream (tested on OS X with clang++ 3.3) - closes #1676
This commit is contained in:
parent
e16567fecb
commit
1c42f48613
1 changed files with 1 additions and 6 deletions
|
@ -66,12 +66,7 @@ int main( int, char*[] )
|
|||
|
||||
to_string(out, double(0.0001234567890123456));
|
||||
// TODO: https://github.com/mapnik/mapnik/issues/1676
|
||||
//BOOST_TEST_EQ( out, "0.0001234567890123456" );
|
||||
out.clear();
|
||||
|
||||
to_string(out, double(-0.0001234567890123456));
|
||||
// TODO: https://github.com/mapnik/mapnik/issues/1676
|
||||
//BOOST_TEST_EQ( out, "-0.0001234567890123456" );
|
||||
BOOST_TEST_EQ( out, "0.000123457" );
|
||||
out.clear();
|
||||
|
||||
to_string(out, double(1000000000000000));
|
||||
|
|
Loading…
Reference in a new issue