30 TEST(ClockGettimeWrappers, clockGettimeWrapperIsWithin120SecsOfSystemClock) {
36 std::chrono::seconds(ts.tv_sec) + std::chrono::nanoseconds(ts.tv_nsec);
37 auto stdChronoSystemClockNow =
43 TEST(ClockGettimeWrappers, clockGettimeNsWrapperIsWithin120SecsOfSystemClock) {
45 auto stdChronoSystemClockNow =
48 std::chrono::nanoseconds(now_ns),
49 stdChronoSystemClockNow,
::testing::AssertionResult AreWithinSecs(T1 val1, T2 val2, std::chrono::seconds acceptableDeltaSecs)
#define TEST(test_case_name, test_name)
int(* clock_gettime)(clockid_t, timespec *ts)
#define ASSERT_EQ(val1, val2)
int64_t(* clock_gettime_ns)(clockid_t)
std::chrono::steady_clock::time_point now()
static constexpr auto kAcceptableDeltaSecs
#define ASSERT_TRUE(condition)