summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/tests.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/tests.cc b/test/tests.cc
index 4bf0ae7..ed8d2f4 100644
--- a/test/tests.cc
+++ b/test/tests.cc
@@ -62,4 +62,8 @@ BOOST_AUTO_TEST_CASE (test)
BOOST_CHECK_EQUAL (document.optional_bool_child("E").get(), true);
BOOST_CHECK_THROW (document.optional_bool_child("F"), cxml::Error);
BOOST_CHECK (!document.optional_bool_child("G"));
+
+ BOOST_CHECK_EQUAL (document.node_children("F").size(), 2);
+ BOOST_CHECK_EQUAL (document.node_children("F").front()->content(), "1");
+ BOOST_CHECK_EQUAL (document.node_children("F").back()->content(), "2");
}