]> git.llucax.com Git - software/posixx.git/blob - test/linux/tipc/sockaddr.cpp
231748515a8e272d15aa834c8a0641164f295cd9
[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