From e91b5e305966f5d03fb1f8fc3fa5f2e4dac16041 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Sun, 30 May 2010 07:52:18 +0000 Subject: tests: Added tests for principal node types with attributes for all axes that can return attributes git-svn-id: http://pugixml.googlecode.com/svn/trunk@471 99668b35-9821-0410-8761-19e4c4f06640 --- tests/test.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'tests/test.cpp') diff --git a/tests/test.cpp b/tests/test.cpp index be0d86b..247c714 100644 --- a/tests/test.cpp +++ b/tests/test.cpp @@ -58,8 +58,6 @@ bool test_xpath_string(const pugi::xml_node& node, const pugi::char_t* query, co { pugi::xpath_query q(query); - // $$$ q.rettype() == string - return q.evaluate_string(node) == expected; } @@ -67,8 +65,6 @@ bool test_xpath_boolean(const pugi::xml_node& node, const pugi::char_t* query, b { pugi::xpath_query q(query); - // $$$ q.rettype() == boolean - return q.evaluate_boolean(node) == expected; } @@ -78,8 +74,6 @@ bool test_xpath_number(const pugi::xml_node& node, const pugi::char_t* query, do { pugi::xpath_query q(query); - // $$$ q.rettype() == number - double value = q.evaluate_number(node); double absolute_error = fabs(value - expected); @@ -91,8 +85,6 @@ bool test_xpath_number_nan(const pugi::xml_node& node, const pugi::char_t* query { pugi::xpath_query q(query); - // $$$ q.rettype() == number - double r = q.evaluate_number(node); #if defined(_MSC_VER) || defined(__BORLANDC__) -- cgit v1.2.3