]> git.llucax.com Git - software/posixx.git/blob - test/linux/tipc/sockaddr.cpp
Improve/complete tipc printing
[software/posixx.git] / test / linux / tipc / sockaddr.cpp
1
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
5
6 BOOST_AUTO_TEST_CASE( linux_tipc_sockaddr_test )
7 {
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);
12 }
13