From f262cbb6bea6b384a7fcdee837cda6c51a64fd99 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Sat, 29 May 2010 13:11:32 +0000 Subject: XPath round() is now fully compliant git-svn-id: http://pugixml.googlecode.com/svn/trunk@461 99668b35-9821-0410-8761-19e4c4f06640 --- tests/test_xpath_functions.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'tests') 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, "") -- cgit v1.2.3