Searched refs:td1 (Results 1 – 1 of 1) sorted by relevance
/device/google/cuttlefish/common/libs/time/ |
D | monotonic_time_test.cpp | 29 TimeDifference td1(1, 10, 1); in TEST_F() local 31 EXPECT_EQ((td1+td2).count(), (1)*1000000000 + 110); in TEST_F() 35 TimeDifference td1(10, 1000, 1); in TEST_F() local 37 EXPECT_EQ((td1+td2).count(), (110L)*1000000000L + 11000L); in TEST_F() 42 TimeDifference td1(10, 1000, scale); in TEST_F() local 44 EXPECT_EQ((td1+td2).count(), ((110L)*1000000000L + 11000L)/scale); in TEST_F() 49 TimeDifference td1(-10, 1000, scale); in TEST_F() local 51 EXPECT_EQ((td1+td2).count(), ((90L)*1000000000L + 11000L)/scale); in TEST_F() 56 TimeDifference td1(-10, 1000, scale1); in TEST_F() local 58 EXPECT_EQ((td1+td2).count(), ((90L)*1000000000L + 11000L)/std::min(scale1, scale2)); in TEST_F() [all …]
|