Searched refs:kThreeSeconds (Results 1 – 2 of 2) sorted by relevance
1451 constexpr TimeDelta kThreeSeconds = TimeDelta::FromSeconds(3); in TEST() local1453 EXPECT_EQ(TimeDelta::FromSeconds(14), kElevenSeconds + kThreeSeconds); in TEST()1454 EXPECT_EQ(TimeDelta::FromSeconds(14), kThreeSeconds + kElevenSeconds); in TEST()1455 EXPECT_EQ(TimeDelta::FromSeconds(8), kElevenSeconds - kThreeSeconds); in TEST()1456 EXPECT_EQ(TimeDelta::FromSeconds(-8), kThreeSeconds - kElevenSeconds); in TEST()1457 static_assert(3 == kElevenSeconds / kThreeSeconds, ""); in TEST()1458 static_assert(0 == kThreeSeconds / kElevenSeconds, ""); in TEST()1459 static_assert(TimeDelta::FromSeconds(2) == kElevenSeconds % kThreeSeconds, in TEST()
1943 constexpr TimeDelta kThreeSeconds = Seconds(3); in TEST() local1945 static_assert(Seconds(14) == kElevenSeconds + kThreeSeconds); in TEST()1946 static_assert(Seconds(14) == kThreeSeconds + kElevenSeconds); in TEST()1947 static_assert(Seconds(8) == kElevenSeconds - kThreeSeconds); in TEST()1948 static_assert(Seconds(-8) == kThreeSeconds - kElevenSeconds); in TEST()1949 static_assert(11.0 / 3.0 == kElevenSeconds / kThreeSeconds); in TEST()1950 static_assert(3.0 / 11.0 == kThreeSeconds / kElevenSeconds); in TEST()1951 static_assert(3 == kElevenSeconds.IntDiv(kThreeSeconds)); in TEST()1952 static_assert(0 == kThreeSeconds.IntDiv(kElevenSeconds)); in TEST()1953 static_assert(Seconds(2) == kElevenSeconds % kThreeSeconds); in TEST()