Lines Matching refs:ComputeRateForInterval
36 EXPECT_DOUBLE_EQ(30.0, tracker.ComputeRateForInterval(50000u)); in TEST()
49 EXPECT_DOUBLE_EQ(60.0, tracker.ComputeRateForInterval(1000u)); in TEST()
54 EXPECT_DOUBLE_EQ(0.0, tracker.ComputeRateForInterval(1000u)); in TEST()
60 EXPECT_DOUBLE_EQ(12340.0, tracker.ComputeRateForInterval(1000u)); in TEST()
68 EXPECT_DOUBLE_EQ(12340.0, tracker.ComputeRateForInterval(1000u)); in TEST()
76 EXPECT_DOUBLE_EQ(1234.0 * 2.0, tracker.ComputeRateForInterval(1000u)); in TEST()
82 EXPECT_DOUBLE_EQ(1234.0 * 2.0, tracker.ComputeRateForInterval(1000u)); in TEST()
89 EXPECT_DOUBLE_EQ(0.0, tracker.ComputeRateForInterval(1000u)); in TEST()
100 EXPECT_DOUBLE_EQ(9876.0 * 10.0, tracker.ComputeRateForInterval(1000u)); in TEST()
109 EXPECT_DOUBLE_EQ(9876.0 * 5.0, tracker.ComputeRateForInterval(1000u)); in TEST()
116 EXPECT_DOUBLE_EQ(0.0, tracker.ComputeRateForInterval(500u)); in TEST()
146 EXPECT_DOUBLE_EQ(20.0, tracker.ComputeRateForInterval(500u)); in TEST()
159 EXPECT_DOUBLE_EQ(1234.0, tracker.ComputeRateForInterval(1000u)); in TEST()