From 4f6ecee14cbbf72009ef1c7c27007773c9efa385 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Mon, 2 Aug 2010 20:16:53 +0000 Subject: tests: More miscellaneous tests git-svn-id: http://pugixml.googlecode.com/svn/trunk@619 99668b35-9821-0410-8761-19e4c4f06640 --- tests/test_xpath.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/test_xpath.cpp') diff --git a/tests/test_xpath.cpp b/tests/test_xpath.cpp index fe0a25f..29e7244 100644 --- a/tests/test_xpath.cpp +++ b/tests/test_xpath.cpp @@ -267,4 +267,9 @@ TEST(xpath_miscellaneous) CHECK_XPATH_NODESET(xml_node(), STR("foo/@FOO/@bar")); } +TEST(xpath_document_order) +{ + CHECK(xml_attribute().document_order() == 0); + CHECK(xml_node().document_order() == 0); +} #endif -- cgit v1.2.3