blob: caae6d025f1aa9ce0d5c22adc53c41aa93808f0c [file] [log] [blame]
Junxiao Shi61c5ef32014-01-24 20:59:30 -07001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2/**
3 * Copyright (C) 2014 Named Data Networking Project
4 * See COPYING for copyright and distribution information.
5 */
6
7#include "core/time.hpp"
8
9#include <boost/test/unit_test.hpp>
10
11namespace ndn {
12
13BOOST_AUTO_TEST_SUITE(CoreTime)
14
15BOOST_AUTO_TEST_CASE(Now)
16{
17 time::Point p1 = time::now();
18 time::Point p2 = time::now();
19 BOOST_CHECK_LE(p1, p2);
20}
21
22BOOST_AUTO_TEST_SUITE_END()
23
24} // namespace ndn