summaryrefslogtreecommitdiffstats
path: root/src/svg
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2014-11-19 19:58:43 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2014-11-19 19:58:43 +0000
commitf97613b94d629821f2d62fb19dce0f20cef2fc0a (patch)
tree0e2e6c32f9774b6e3c274a82aff6bc6215827a4b /src/svg
parentmodify sequence of events. (Bug 1247801) (diff)
downloadinkscape-f97613b94d629821f2d62fb19dce0f20cef2fc0a.tar.gz
inkscape-f97613b94d629821f2d62fb19dce0f20cef2fc0a.zip
Tests: fix stringstream-test for outputting floating point numbers. At http://www.cplusplus.com/reference/ios/scientific/ I read that there are always three exponential digits (instead of the two that the test was testing for).
If this is not standard, we should rewrite the tests. (bzr r13736)
Diffstat (limited to 'src/svg')
-rw-r--r--src/svg/stringstream-test.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/svg/stringstream-test.h b/src/svg/stringstream-test.h
index ce32683f8..305cf6b8d 100644
--- a/src/svg/stringstream-test.h
+++ b/src/svg/stringstream-test.h
@@ -37,9 +37,9 @@ public:
svg_test_float(-0.0625, "-0.0625");
svg_test_float(30.0, "30");
svg_test_float(12345678.0, "12345678");
- svg_test_float(3e9, "3e+09");
- svg_test_float(-3.5e9, "-3.5e+09");
- svg_test_float(32768e9, "3.2768e+13");
+ svg_test_float(3e9, "3e+009");
+ svg_test_float(-3.5e9, "-3.5e+009");
+ svg_test_float(32768e9, "3.2768e+013");
svg_test_float(-10.5, "-10.5");
}