Dane Springmeyer
b45d3f984d
update cpp_tests from master
2013-07-12 19:44:36 -04:00
Dane Springmeyer
11e825a045
formatting
2013-03-14 18:33:59 -07:00
Dane Springmeyer
00c2ff999d
fix all double to_string conversion failures by using sprintf method in all cases - closes #1741
2013-02-27 10:08:55 -05:00
Dane Springmeyer
ef021e84ad
comment out non-critical failing karma conversion to_string tests, leaving just single important failure - refs #1741
2013-02-27 09:40:16 -05:00
Dane Springmeyer
ccd9acfecc
default to fast, simple, and correct (per ostringstream) to_string conversions fully removing boost::lexical_cast, disabling karma, and fixing up tests
2013-01-19 10:12:32 -08:00
Dane Springmeyer
1c42f48613
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
2013-01-17 16:57:01 -08:00
Dane Springmeyer
0aa2c491ed
comment failing to_string precision test - refs #1676
2013-01-02 18:09:15 -08:00
Sandro Santilli
e8b7b82bbb
Implement scientific notation for double-to-string
...
Also fixes tests for 1e5 expecting fixed precision rather than
scientific notation (stringstream gives scientific notation indeed)
The only still failing test now is the one having less than 16
significant digits of precision, due to the boost bug:
https://svn.boost.org/trac/boost/ticket/7785
2012-12-17 19:29:44 +01:00
Dane Springmeyer
4040eebf10
catch c++ abort
2012-12-14 13:52:39 -08:00
artemp
9453d93f15
+ update conversion tests to have 0.0 and negative numbers
2012-12-14 19:22:04 +00:00
Sandro Santilli
9416a57b85
Add test for backward compatibility of double to string conversion
...
The testcase is ready to host more conversion tests but is currently
really only targetting the double-to-string.
refs #430 , #1632
2012-12-11 10:47:01 +01:00