Ashlesh Gawande | eb582eb | 2014-05-01 14:25:20 -0500 | [diff] [blame] | 1 | /** |
| 2 | * Copyright (C) 2014 Regents of the University of Memphis. |
| 3 | * See COPYING for copyright and distribution information. |
| 4 | */ |
| 5 | |
| 6 | #include "route/name-prefix-table-entry.hpp" |
| 7 | #include <boost/test/unit_test.hpp> |
| 8 | |
| 9 | namespace nlsr { |
| 10 | |
| 11 | namespace test { |
| 12 | |
| 13 | BOOST_AUTO_TEST_SUITE(TestNpte) |
| 14 | |
| 15 | BOOST_AUTO_TEST_CASE(NpteConstructorAndNamePrefix) |
| 16 | { |
| 17 | NamePrefixTableEntry npte1("/ndn/memphis.edu/cs"); |
| 18 | |
| 19 | BOOST_CHECK_EQUAL(npte1.getNamePrefix(), "/ndn/memphis.edu/cs"); |
| 20 | } |
| 21 | |
| 22 | BOOST_AUTO_TEST_SUITE_END() |
| 23 | |
| 24 | } //namespace test |
| 25 | } //namespace nlsr |