summaryrefslogtreecommitdiff
path: root/tests/test.cpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-05-30 07:52:18 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-05-30 07:52:18 +0000
commite91b5e305966f5d03fb1f8fc3fa5f2e4dac16041 (patch)
tree0f2e0bc71dbe805fe2a93e0c34b886b42f265679 /tests/test.cpp
parent3bee04cd1145802784481cd13f4a951da83ff917 (diff)
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
Diffstat (limited to 'tests/test.cpp')
-rw-r--r--tests/test.cpp8
1 files changed, 0 insertions, 8 deletions
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__)