Searched refs:scale1 (Results 1 – 1 of 1) sorted by relevance
/device/google/cuttlefish/common/libs/time/ |
D | monotonic_time_test.cpp | 55 int64_t scale1 = 1, scale2 = 1000; in TEST_F() local 56 TimeDifference td1(-10, 1000, scale1); in TEST_F() 58 EXPECT_EQ((td1+td2).count(), ((90L)*1000000000L + 11000L)/std::min(scale1, scale2)); in TEST_F() 62 int64_t scale1 = 1000, scale2 = 1000; in TEST_F() local 63 TimeDifference td1(0, 995, scale1); in TEST_F() 65 EXPECT_EQ((td1+td2).count(), (1005L)/std::min(scale1, scale2)); in TEST_F() 83 int64_t scale1 = 1, scale2 = 1000; in TEST_F() local 84 TimeDifference td1(-10, 1000, scale1); in TEST_F() 86 …EXPECT_EQ((td1-td2).count(), ((-111L)*1000000000L + 1000000000L - 9000L)/std::min(scale1, scale2)); in TEST_F() 90 int64_t scale1 = 1000, scale2 = 1000; in TEST_F() local [all …]
|