Searched refs:one_second (Results 1 – 2 of 2) sorted by relevance
733 TimeDelta one_second = TimeDelta::FromSeconds(1); in TEST() local736 EXPECT_TRUE((large_delta + one_second).is_max()); in TEST()737 EXPECT_TRUE(IsMin(large_negative + (-one_second))); in TEST()738 EXPECT_TRUE(IsMin(large_negative - one_second)); in TEST()739 EXPECT_TRUE((large_delta - (-one_second)).is_max()); in TEST()747 delta += one_second; in TEST()750 delta += -one_second; in TEST()754 delta -= one_second; in TEST()757 delta -= -one_second; in TEST()781 EXPECT_EQ(one_second, (time_now + one_second) - time_now); in TEST()[all …]
983 TimeDelta one_second = TimeDelta::FromSeconds(1); in TEST() local986 EXPECT_TRUE((large_delta + one_second).is_max()); in TEST()987 EXPECT_TRUE(IsMin(large_negative + (-one_second))); in TEST()988 EXPECT_TRUE(IsMin(large_negative - one_second)); in TEST()989 EXPECT_TRUE((large_delta - (-one_second)).is_max()); in TEST()997 delta += one_second; in TEST()1000 delta += -one_second; in TEST()1004 delta -= one_second; in TEST()1007 delta -= -one_second; in TEST()1031 EXPECT_EQ(one_second, (time_now + one_second) - time_now); in TEST()[all …]