diff options
author | Josh Blum <josh@joshknows.com> | 2010-03-27 14:27:55 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-03-27 14:27:55 -0700 |
commit | b71d0cbea9e1e107eeb1da51ef14fe6b9e983ee6 (patch) | |
tree | f0b8e41990c2600cac35467b3dcfbfed097d86cc /host/test/addr_test.cpp | |
parent | 52df9afd679fd0f42edeef29f0bbc0d7bd76559e (diff) | |
download | uhd-b71d0cbea9e1e107eeb1da51ef14fe6b9e983ee6.tar.gz uhd-b71d0cbea9e1e107eeb1da51ef14fe6b9e983ee6.tar.bz2 uhd-b71d0cbea9e1e107eeb1da51ef14fe6b9e983ee6.zip |
refactored types.hpp into types directory
Diffstat (limited to 'host/test/addr_test.cpp')
-rw-r--r-- | host/test/addr_test.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/host/test/addr_test.cpp b/host/test/addr_test.cpp index 148aee015..0c8f63b0a 100644 --- a/host/test/addr_test.cpp +++ b/host/test/addr_test.cpp @@ -16,13 +16,14 @@ // #include <boost/test/unit_test.hpp> -#include <uhd/device_addr.hpp> +#include <uhd/types/mac_addr.hpp> +#include <iostream> BOOST_AUTO_TEST_CASE(test_mac_addr){ std::cout << "Testing mac addr..." << std::endl; const std::string mac_addr_str("00:01:23:45:67:89"); uhd::mac_addr_t mac_addr(mac_addr_str); std::cout << "Input: " << mac_addr_str << std::endl; - std::cout << "Output: " << mac_addr << std::endl; + std::cout << "Output: " << mac_addr.to_string() << std::endl; BOOST_CHECK_EQUAL(mac_addr_str, mac_addr.to_string()); } |