diff options
Diffstat (limited to 'tests/test.cpp')
-rw-r--r-- | tests/test.cpp | 8 |
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__)
|