Home
last modified time | relevance | path

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

/external/libchrome/base/time/
Dtime_unittest.cc1467 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()
[all …]