Searched refs:scale2 (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 57 TimeDifference td2(100, 10000, scale2); 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 64 TimeDifference td2(0, 10, scale2); 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 85 TimeDifference td2(100, 10000, scale2); 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 …]
|