Lines Matching refs:large_delta
1467 TimeDelta large_delta = TimeDelta::Max() - TimeDelta::FromMilliseconds(1); in TEST() local
1468 TimeDelta large_negative = -large_delta; in TEST()
1470 EXPECT_FALSE(large_delta.is_max()); in TEST()
1475 EXPECT_TRUE((large_delta + kOneSecond).is_max()); in TEST()
1478 EXPECT_TRUE((large_delta - (-kOneSecond)).is_max()); in TEST()
1479 EXPECT_TRUE((large_delta * 2).is_max()); in TEST()
1480 EXPECT_TRUE((large_delta * -2).is_min()); in TEST()
1481 EXPECT_TRUE((large_delta / 0.5).is_max()); in TEST()
1482 EXPECT_TRUE((large_delta / -0.5).is_min()); in TEST()
1485 EXPECT_EQ((large_delta + kOneSecond).InSecondsF(), in TEST()
1487 EXPECT_EQ((large_delta + kOneSecond).InMillisecondsF(), in TEST()
1489 EXPECT_EQ((large_delta + kOneSecond).InMicrosecondsF(), in TEST()
1493 TimeDelta delta = large_delta; in TEST()
1503 delta = large_delta; in TEST()
1507 delta = large_delta; in TEST()
1514 delta = large_delta; in TEST()
1522 EXPECT_TRUE((large_delta + Time::Now()).is_max()); in TEST()
1523 EXPECT_TRUE((large_delta + TimeTicks::Now()).is_max()); in TEST()
1524 EXPECT_TRUE((Time::Now() + large_delta).is_max()); in TEST()
1525 EXPECT_TRUE((TimeTicks::Now() + large_delta).is_max()); in TEST()