Zhenkai Zhu | 85dc03d | 2013-01-03 19:22:12 -0800 | [diff] [blame^] | 1 | #include <boost/test/unit_test.hpp> |
| 2 | #include "ccnx-name.h" |
| 3 | using namespace Ccnx; |
| 4 | using namespace std; |
| 5 | using namespace boost; |
| 6 | //#define BOOST_TEST_MAIN 1 |
| 7 | #define BOOST_TEST_DYN_LINK |
| 8 | #define BOOST_TEST_Module Main |
| 9 | |
| 10 | BOOST_AUTO_TEST_SUITE(CcnxNameTests) |
| 11 | |
| 12 | BOOST_AUTO_TEST_CASE (CcnxNameTest) |
| 13 | { |
| 14 | Name empty = Name(); |
| 15 | Name root = Name("/"); |
| 16 | BOOST_CHECK_EQUAL(empty, root); |
| 17 | } |
| 18 | |
| 19 | BOOST_AUTO_TEST_CASE (SelectorsTest) |
| 20 | { |
| 21 | int i = 0; |
| 22 | } |
| 23 | |
| 24 | BOOST_AUTO_TEST_SUITE_END() |