summaryrefslogtreecommitdiff
path: root/tests/test_xpath_xalan_1.cpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-06-14 18:03:50 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-06-14 18:03:50 +0000
commit4394a588c2d8f07b12201592054234cb321f37e5 (patch)
treee21b03e83893d3df0b5656ad793548a16c41f058 /tests/test_xpath_xalan_1.cpp
parent30fbb3e32807a856659e8b4d5fa4b5003519a43d (diff)
XPath: Rewritten number->string conversion using CRT scientific format (much better XPath REC compliance)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@523 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_xpath_xalan_1.cpp')
-rw-r--r--tests/test_xpath_xalan_1.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test_xpath_xalan_1.cpp b/tests/test_xpath_xalan_1.cpp
index 6114bd2..7be711f 100644
--- a/tests/test_xpath_xalan_1.cpp
+++ b/tests/test_xpath_xalan_1.cpp
@@ -388,7 +388,6 @@ TEST(xpath_xalan_math_9)
CHECK_XPATH_STRING(c, STR("string(number('0.0004'))"), STR("0.0004"));
CHECK_XPATH_STRING(c, STR("string(-1 * number('0.0004'))"), STR("-0.0004"));
-#if 0 // $$ commented out temporarily because number formatting is not compliant yet
CHECK_XPATH_STRING(c, STR("string(number('0.0000000000001'))"), STR("0.0000000000001"));
CHECK_XPATH_STRING(c, STR("string(-1 * number('0.0000000000001'))"), STR("-0.0000000000001"));
@@ -397,7 +396,6 @@ TEST(xpath_xalan_math_9)
CHECK_XPATH_STRING(c, STR("string(number('0.0000000000001000000000000001'))"), STR("0.0000000000001000000000000001"));
CHECK_XPATH_STRING(c, STR("string(-1 * number('0.0000000000001000000000000001'))"), STR("-0.0000000000001000000000000001"));
-#endif
CHECK_XPATH_STRING(c, STR("string(number('0.0012'))"), STR("0.0012"));
CHECK_XPATH_STRING(c, STR("string(-1 * number('0.0012'))"), STR("-0.0012"));