Lines Matching refs:Sample
34 EXPECT_FALSE(mon.Sample(9, bandwidth_sample));
35 EXPECT_TRUE(mon.Sample(10, bandwidth_sample));
40 EXPECT_TRUE(mon.Sample(20, bandwidth_sample));
53 EXPECT_FALSE(mon.Sample(9, kBandwidthSample));
54 EXPECT_TRUE(mon.Sample(10, kBandwidthSample));
67 EXPECT_FALSE(mon.Sample(1, kBandwidthSample));
69 EXPECT_TRUE(mon.Sample(2, kBandwidthSample));
82 EXPECT_FALSE(mon.Sample(1, kBandwidthSample));
83 EXPECT_FALSE(mon.Sample(2, kBandwidthSample));
84 EXPECT_FALSE(mon.Sample(3, kBandwidthSample));
85 EXPECT_FALSE(mon.Sample(4, kBandwidthSample));
87 EXPECT_TRUE(mon.Sample(5, kBandwidthSample));
99 EXPECT_FALSE(mon.Sample(10, INT_MAX));
100 EXPECT_FALSE(mon.Sample(11, INT_MAX));
111 EXPECT_FALSE(mon.Sample(10, -1));
112 EXPECT_FALSE(mon.Sample(11, -1));