Searched refs:large_delta (Results 1 – 2 of 2) sorted by relevance
728 TimeDelta large_delta = TimeDelta::Max() - TimeDelta::FromMilliseconds(1); in TEST() local729 TimeDelta large_negative = -large_delta; in TEST()731 EXPECT_FALSE(large_delta.is_max()); in TEST()736 EXPECT_TRUE((large_delta + one_second).is_max()); in TEST()739 EXPECT_TRUE((large_delta - (-one_second)).is_max()); in TEST()740 EXPECT_TRUE((large_delta * 2).is_max()); in TEST()741 EXPECT_TRUE(IsMin(large_delta * -2)); in TEST()742 EXPECT_TRUE((large_delta / 0.5).is_max()); in TEST()743 EXPECT_TRUE(IsMin(large_delta / -0.5)); in TEST()746 TimeDelta delta = large_delta; in TEST()[all …]
978 TimeDelta large_delta = TimeDelta::Max() - TimeDelta::FromMilliseconds(1); in TEST() local979 TimeDelta large_negative = -large_delta; in TEST()981 EXPECT_FALSE(large_delta.is_max()); in TEST()986 EXPECT_TRUE((large_delta + one_second).is_max()); in TEST()989 EXPECT_TRUE((large_delta - (-one_second)).is_max()); in TEST()990 EXPECT_TRUE((large_delta * 2).is_max()); in TEST()991 EXPECT_TRUE(IsMin(large_delta * -2)); in TEST()992 EXPECT_TRUE((large_delta / 0.5).is_max()); in TEST()993 EXPECT_TRUE(IsMin(large_delta / -0.5)); in TEST()996 TimeDelta delta = large_delta; in TEST()[all …]