Searched refs:bandwidth_sample (Results 1 – 1 of 1) sorted by relevance
30 int bandwidth_sample = 1000; in TEST() local31 EXPECT_EQ(bandwidth_sample, mon.get_bandwidth_estimation()); in TEST()32 bandwidth_sample = in TEST()33 static_cast<int>(bandwidth_sample * kPercentIncrease); in TEST()34 EXPECT_FALSE(mon.Sample(9, bandwidth_sample)); in TEST()35 EXPECT_TRUE(mon.Sample(10, bandwidth_sample)); in TEST()36 EXPECT_EQ(bandwidth_sample, mon.get_bandwidth_estimation()); in TEST()38 static_cast<int>(bandwidth_sample * kPercentIncrease); in TEST()39 bandwidth_sample *= 2; in TEST()40 EXPECT_TRUE(mon.Sample(20, bandwidth_sample)); in TEST()