]> git.llucax.com Git - software/posixx.git/blob - test/socket/inet/sockaddr.cpp
Improve handling of CFLAGS and LDFLAGS make variables
[software/posixx.git] / test / socket / inet / sockaddr.cpp
1
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
5
6 BOOST_AUTO_TEST_CASE( socket_inet_sockaddr_test )
7 {
8         BOOST_CHECK_EQUAL(test_address1.addr(), IP);
9         BOOST_CHECK_EQUAL(test_address1.port(), PORT1);
10 }
11