mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 04:17:55 +01:00
fixed few GH issues
- fixed GH #209: Poco::NumberFormatter double length - fixed GH #204: Upgrade zlib to 1.2.8 - fixed GH #198: The "application.configDir" property is not always created.
This commit is contained in:
@@ -232,6 +232,9 @@ void NumberFormatterTest::testFormatFloat()
|
||||
assert(NumberFormatter::format(-12.25, 4) == "-12.2500");
|
||||
assert(NumberFormatter::format(-12.25, 10, 4) == " -12.2500");
|
||||
assert(NumberFormatter::format(-12.25, 10, 2) == " -12.25");
|
||||
|
||||
double dTest = 50.0;
|
||||
assert (NumberFormatter::format(dTest, 3) == "50.000");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user