Home
last modified time | relevance | path

Searched refs:td2 (Results 1 – 1 of 1) sorted by relevance

/device/google/cuttlefish/common/libs/time/
Dmonotonic_time_test.cpp30 TimeDifference td2(0, 100, 1); in TEST_F() local
31 EXPECT_EQ((td1+td2).count(), (1)*1000000000 + 110); in TEST_F()
36 TimeDifference td2(100, 10000, 1); in TEST_F() local
37 EXPECT_EQ((td1+td2).count(), (110L)*1000000000L + 11000L); in TEST_F()
43 TimeDifference td2(100, 10000, scale); in TEST_F() local
44 EXPECT_EQ((td1+td2).count(), ((110L)*1000000000L + 11000L)/scale); in TEST_F()
50 TimeDifference td2(100, 10000, scale); in TEST_F() local
51 EXPECT_EQ((td1+td2).count(), ((90L)*1000000000L + 11000L)/scale); in TEST_F()
57 TimeDifference td2(100, 10000, scale2); in TEST_F() local
58 EXPECT_EQ((td1+td2).count(), ((90L)*1000000000L + 11000L)/std::min(scale1, scale2)); in TEST_F()
[all …]