9 #include <boost/test/unit_test.hpp>
14 using namespace std::chrono_literals;
18 for (
auto offset : to_add) {
51 static bool IsWarningRaised(
const std::vector<std::chrono::seconds>& check_offsets)
55 return offsets.WarnIfOutOfSync();
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)