Files
NFD/tests/table/cs.cpp
T
Alexander Afanasyev 18bbf81601 src: Changing namespace ndn to namespace nfd
Also, this commit imports used classes from ::ndn namespace (from
NDN-CPP library) directly to ::nfd namespace.

refs: #1163

Change-Id: I9cc9d72e00af495b4ed0c84e6d418a7c9ba986cb
2014-01-29 14:12:58 -08:00

29 lines
547 B
C++

/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
* Copyright (C) 2014 Named Data Networking Project
* See COPYING for copyright and distribution information.
*/
#include "table/cs.hpp"
#include <boost/test/unit_test.hpp>
namespace nfd {
BOOST_AUTO_TEST_SUITE(TableCs)
BOOST_AUTO_TEST_CASE(FakeInsertFind)
{
Cs cs;
Data data;
BOOST_CHECK_EQUAL(cs.insert(data), false);
Interest interest;
BOOST_CHECK_EQUAL(static_cast<bool>(cs.find(interest)), false);
}
BOOST_AUTO_TEST_SUITE_END()
} // namespace nfd