Searched refs:kMinusInfinity (Results 1 – 3 of 3) sorted by relevance
/external/webrtc/api/units/ |
D | timestamp_unittest.cc | 116 const double kMinusInfinity = -kPlusInfinity; in TEST() local 119 EXPECT_EQ(Timestamp::MinusInfinity().seconds<double>(), kMinusInfinity); in TEST() 121 EXPECT_EQ(Timestamp::MinusInfinity().ms<double>(), kMinusInfinity); in TEST() 123 EXPECT_EQ(Timestamp::MinusInfinity().us<double>(), kMinusInfinity); in TEST() 126 EXPECT_TRUE(Timestamp::Seconds(kMinusInfinity).IsMinusInfinity()); in TEST() 128 EXPECT_TRUE(Timestamp::Millis(kMinusInfinity).IsMinusInfinity()); in TEST() 130 EXPECT_TRUE(Timestamp::Micros(kMinusInfinity).IsMinusInfinity()); in TEST()
|
D | time_delta_unittest.cc | 159 const double kMinusInfinity = -kPlusInfinity; in TEST() local 162 EXPECT_EQ(TimeDelta::MinusInfinity().seconds<double>(), kMinusInfinity); in TEST() 164 EXPECT_EQ(TimeDelta::MinusInfinity().ms<double>(), kMinusInfinity); in TEST() 166 EXPECT_EQ(TimeDelta::MinusInfinity().us<double>(), kMinusInfinity); in TEST() 168 EXPECT_EQ(TimeDelta::MinusInfinity().ns<double>(), kMinusInfinity); in TEST() 171 EXPECT_TRUE(TimeDelta::Seconds(kMinusInfinity).IsMinusInfinity()); in TEST() 173 EXPECT_TRUE(TimeDelta::Millis(kMinusInfinity).IsMinusInfinity()); in TEST() 175 EXPECT_TRUE(TimeDelta::Micros(kMinusInfinity).IsMinusInfinity()); in TEST()
|
/external/webrtc/rtc_base/units/ |
D | unit_base_unittest.cc | 179 const double kMinusInfinity = -kPlusInfinity; in TEST() local 182 EXPECT_EQ(TestUnit::MinusInfinity().ToKilo<double>(), kMinusInfinity); in TEST() 184 EXPECT_EQ(TestUnit::MinusInfinity().ToValue<double>(), kMinusInfinity); in TEST() 186 EXPECT_EQ(TestUnit::MinusInfinity().ToMilli<double>(), kMinusInfinity); in TEST() 189 EXPECT_TRUE(TestUnit::FromKilo(kMinusInfinity).IsMinusInfinity()); in TEST() 191 EXPECT_TRUE(TestUnit::FromValue(kMinusInfinity).IsMinusInfinity()); in TEST()
|