Home
last modified time | relevance | path

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

/external/cronet/base/time/
Dtime_unittest.cc1670 constexpr TimeDelta kLargeNegative = in TEST() local
1672 static_assert(!kLargeNegative.is_min()); in TEST()
1673 static_assert(std::numeric_limits<int>::min() == kLargeNegative.InHours(), in TEST()
1675 static_assert(std::numeric_limits<int>::min() == kLargeNegative.InMinutes(), in TEST()
1678 std::numeric_limits<int64_t>::min() == kLargeNegative.InNanoseconds(), in TEST()
1972 constexpr TimeDelta kLargeNegative = -kLargeDelta; in TEST() local
1973 static_assert(TimeDelta() > kLargeNegative); in TEST()
1975 static_assert(!(-kLargeNegative).is_min()); in TEST()
1980 static_assert((kLargeNegative + (-kOneSecond)).is_min()); in TEST()
1981 static_assert((kLargeNegative - kOneSecond).is_min()); in TEST()
[all …]