2 #include "common.hpp" // PTYPE, INST{1,2}, test_address{1,2}
3 #include <posixx/linux/tipc.hpp> // posixx::linux::tipc
4 #include <boost/test/unit_test.hpp> // unit testing stuff
6 BOOST_AUTO_TEST_CASE( linux_tipc_sockaddr_test )
8 BOOST_CHECK_EQUAL(test_address1.addr.name.name.type, PTYPE);
9 BOOST_CHECK_EQUAL(test_address1.addr.name.name.instance, INST1);
10 BOOST_CHECK_EQUAL(test_address2.addr.name.name.type, PTYPE);
11 BOOST_CHECK_EQUAL(test_address2.addr.name.name.instance, INST2);