Lines Matching refs:BitsPerSec
35 constexpr DataRate kDataRateBps = DataRate::BitsPerSec(kValue); in TEST()
44 EXPECT_EQ(DataRate::BitsPerSec(kValue).bps(), kValue); in TEST()
50 EXPECT_EQ(DataRate::BitsPerSec(kValue).kbps(), kValue / 1000); in TEST()
56 EXPECT_FALSE(DataRate::BitsPerSec(kValue).IsZero()); in TEST()
60 EXPECT_FALSE(DataRate::BitsPerSec(kValue).IsInfinite()); in TEST()
63 EXPECT_TRUE(DataRate::BitsPerSec(kValue).IsFinite()); in TEST()
70 const DataRate small = DataRate::BitsPerSec(kSmall); in TEST()
71 const DataRate large = DataRate::BitsPerSec(kLarge); in TEST()
73 EXPECT_EQ(DataRate::Zero(), DataRate::BitsPerSec(0)); in TEST()
93 EXPECT_EQ(DataRate::BitsPerSec(kValue).bps<double>(), kDoubleValue); in TEST()
94 EXPECT_EQ(DataRate::BitsPerSec(kValue).kbps<double>(), kDoubleKbps); in TEST()
95 EXPECT_EQ(DataRate::BitsPerSec(kValue).kbps<float>(), kFloatKbps); in TEST()
96 EXPECT_EQ(DataRate::BitsPerSec(kDoubleValue).bps(), kValue); in TEST()
101 EXPECT_TRUE(DataRate::BitsPerSec(kInfinity).IsInfinite()); in TEST()
128 const DataRate rate_a = DataRate::BitsPerSec(kValueA); in TEST()
129 const DataRate rate_b = DataRate::BitsPerSec(kValueB); in TEST()
145 DataRate mutable_rate = DataRate::BitsPerSec(kValueA); in TEST()
157 const DataRate rate_b = DataRate::BitsPerSec(kBitsPerSecond); in TEST()
170 const DataRate rate_b = DataRate::BitsPerSec(kBitsPerSecond); in TEST()