Home
last modified time | relevance | path

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

/external/webrtc/rtc_base/units/
Dunit_base_unittest.cc30 T ToKilo() const { in ToKilo() function in webrtc::__anon0bc597080111::TestUnit
77 EXPECT_EQ(TestUnit::FromKilo(value).ToKilo(), value); in TEST()
85 EXPECT_EQ(TestUnit::FromValue(kValue).ToKilo(), kValue / 1000); in TEST()
170 EXPECT_EQ(TestUnit::FromValue(kValue).ToKilo<double>(), kKiloDouble); in TEST()
181 EXPECT_EQ(TestUnit::PlusInfinity().ToKilo<double>(), kPlusInfinity); in TEST()
182 EXPECT_EQ(TestUnit::MinusInfinity().ToKilo<double>(), kMinusInfinity); in TEST()
199 EXPECT_EQ((delta_a + delta_b).ToKilo(), kValueA + kValueB); in TEST()
200 EXPECT_EQ((delta_a - delta_b).ToKilo(), kValueA - kValueB); in TEST()
211 EXPECT_EQ((delta_b / 10).ToKilo(), kValueB / 10); in TEST()