diff options
| author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-05-29 13:11:32 +0000 | 
|---|---|---|
| committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-05-29 13:11:32 +0000 | 
| commit | f262cbb6bea6b384a7fcdee837cda6c51a64fd99 (patch) | |
| tree | c57d8cb9d5c4313b2dcec8df7234100647c7ab55 /tests | |
| parent | 64fc9478af7e83fbf0671d34ed29ed455a279082 (diff) | |
XPath round() is now fully compliant
git-svn-id: http://pugixml.googlecode.com/svn/trunk@461 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_xpath_functions.cpp | 3 | 
1 files changed, 0 insertions, 3 deletions
| diff --git a/tests/test_xpath_functions.cpp b/tests/test_xpath_functions.cpp index 5fc61fc..0cf91d6 100644 --- a/tests/test_xpath_functions.cpp +++ b/tests/test_xpath_functions.cpp @@ -132,12 +132,9 @@ TEST(xpath_number_round)  	// round with argument in range [-0.5, -0] should result in minus zero
  	CHECK_XPATH_STRING(c, STR("string(1 div round(0))"), STR("Infinity"));
 -
 -#if 0 // $$$ commented out temporarily because round is not compliant yet
  	CHECK_XPATH_STRING(c, STR("string(1 div round(-0.5))"), STR("-Infinity"));
  	CHECK_XPATH_STRING(c, STR("string(1 div round(-0))"), STR("-Infinity"));
  	CHECK_XPATH_STRING(c, STR("string(1 div round(-0.1))"), STR("-Infinity"));
 -#endif
  }
  TEST_XML(xpath_boolean_boolean, "<node />")
 | 
