19 #include <boost/test/unit_test.hpp>
25 BOOST_AUTO_TEST_SUITE(physical)
38 BOOST_CHECK(named1.
getName() == name1);
39 BOOST_CHECK_EQUAL(named1 == named2,
false);
48 BOOST_CHECK_EQUAL(comparator(named1Ptr),
true);
49 BOOST_CHECK_EQUAL(comparator(named1),
true);
50 BOOST_CHECK_EQUAL(comparator(named2),
false);
53 BOOST_AUTO_TEST_SUITE_END()
Concept for any object that can be named.
BOOST_AUTO_TEST_CASE(XdlUnpackUnitTest)
Unit test for the XdlUnpack class.
boost::shared_ptr< Named > NamedSharedPtr
Shared pointer encapsulation of a Named object.
Comparator class to serve as a predicate when searching for names.
Header for the Named class.
const string & getName(void) const
Returns the object name.