2 #include "common.hpp" // IP, PORT{1,2}, test_address{1,2}
3 #include <posixx/socket/inet.hpp> // posixx::socket::inet
4 #include <boost/test/unit_test.hpp> // unit testing stuff
6 BOOST_AUTO_TEST_CASE( socket_inet_sockaddr_test )
8 BOOST_CHECK_EQUAL(test_address1.addr(), IP);
9 BOOST_CHECK_EQUAL(test_address1.port(), PORT1);