Lines Matching refs:calculate
50 EXPECT_EQ(mDefaultValue, detector.calculate(0)); in TEST_P()
52 EXPECT_EQ(mDefaultValue, detector.calculate(0)); in TEST_P()
54 EXPECT_EQ(mDefaultValue, detector.calculate(300)); in TEST_P()
56 EXPECT_EQ(mDefaultValue, detector.calculate(600)); in TEST_P()
58 EXPECT_EQ(mDefaultValue, detector.calculate(999)); in TEST_P()
60 EXPECT_TRUE(detector.calculate(1000)); in TEST_P()
65 EXPECT_TRUE(detector.calculate(0)); in TEST_P()
66 EXPECT_TRUE(detector.calculate(1000)); in TEST_P()
80 EXPECT_EQ(mDefaultValue, detector.calculate(0)); in TEST_P()
82 EXPECT_EQ(mDefaultValue, detector.calculate(0)); in TEST_P()
84 EXPECT_EQ(mDefaultValue, detector.calculate(300)); in TEST_P()
86 EXPECT_EQ(mDefaultValue, detector.calculate(600)); in TEST_P()
88 EXPECT_FALSE(detector.calculate(1299)); in TEST_P()
90 EXPECT_TRUE(detector.calculate(1300)); in TEST_P()
104 EXPECT_EQ(mDefaultValue, detector.calculate(0)); in TEST_P()
106 EXPECT_EQ(mDefaultValue, detector.calculate(0)); in TEST_P()
108 EXPECT_EQ(mDefaultValue, detector.calculate(300)); in TEST_P()
110 EXPECT_EQ(mDefaultValue, detector.calculate(600)); in TEST_P()
112 EXPECT_FALSE(detector.calculate(1299)); in TEST_P()
114 EXPECT_TRUE(detector.calculate(1300)); in TEST_P()
129 EXPECT_TRUE(detector.calculate(1000)); in TEST_P()
131 EXPECT_FALSE(detector.calculate(1100)); in TEST_P()
133 EXPECT_FALSE(detector.calculate(1500)); in TEST_P()
134 EXPECT_FALSE(detector.calculate(1999)); in TEST_P()
135 EXPECT_TRUE(detector.calculate(2000)); in TEST_P()
147 EXPECT_EQ(mDefaultValue, detector.calculate(0)); in TEST_P()
149 EXPECT_EQ(mDefaultValue, detector.calculate(300)); in TEST_P()
152 EXPECT_EQ(mDefaultValue, detector.calculate(600)); in TEST_P()
154 EXPECT_EQ(mDefaultValue, detector.calculate(900)); in TEST_P()
156 EXPECT_EQ(mDefaultValue, detector.calculate(1200)); in TEST_P()
158 EXPECT_EQ(mDefaultValue, detector.calculate(1599)); in TEST_P()
160 EXPECT_TRUE(detector.calculate(1600)); in TEST_P()