Searched refs:RoundTo (Results 1 – 3 of 3) sorted by relevance
131 EXPECT_EQ(freq_high.RoundTo(Frequency::Hertz(1)), Frequency::Hertz(24)); in TEST()137 EXPECT_EQ(freq_low.RoundTo(Frequency::Hertz(1)), Frequency::Hertz(23)); in TEST()
71 constexpr Unit_T RoundTo(const Unit_T& resolution) const { in RoundTo() function
1817 EXPECT_EQ(time_left.RoundTo(TimeDelta::Millis(1)), kOffset); in TEST_P()