10#include <boost/test/unit_test.hpp>
15using namespace std::chrono_literals;
19 for (
auto offset : to_add) {
53static bool IsWarningRaised(
const std::vector<std::chrono::seconds>& check_offsets)
58 return offsets.WarnIfOutOfSync();
Manages warning messages within a node.
BOOST_FIXTURE_TEST_SUITE(cuckoocache_tests, BasicTestingSetup)
Test Suite for CuckooCache.
BOOST_AUTO_TEST_SUITE_END()
#define BOOST_CHECK(expr)
static const int64_t offsets[]
static bool IsWarningRaised(const std::vector< std::chrono::seconds > &check_offsets)
BOOST_AUTO_TEST_CASE(timeoffsets)
static void AddMulti(TimeOffsets &offsets, const std::vector< std::chrono::seconds > &to_add)