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