Lines Matching refs:expect
83 uint32_t expect = std::rand(); in TEST_F() local
84 uint32_t actual = ~expect; in TEST_F()
86 EXPECT_TRUE(SetProperty(prefix + "closeloop.threshold", std::to_string(expect))); in TEST_F()
91 EXPECT_EQ(expect, actual); in TEST_F()
96 uint32_t expect = UINT32_MAX; in TEST_F() local
97 uint32_t actual = ~expect; in TEST_F()
104 EXPECT_EQ(expect, actual); in TEST_F()
109 bool expect = false; in TEST_F() local
110 bool actual = !expect; in TEST_F()
117 EXPECT_EQ(expect, actual); in TEST_F()
122 bool expect = true; in TEST_F() local
123 bool actual = !expect; in TEST_F()
130 EXPECT_EQ(expect, actual); in TEST_F()
135 bool expect = false; in TEST_F() local
136 bool actual = !expect; in TEST_F()
143 EXPECT_EQ(expect, actual); in TEST_F()
148 uint32_t expect = std::rand(); in TEST_F() local
149 uint32_t actual = ~expect; in TEST_F()
151 EXPECT_TRUE(SetProperty(prefix + "long.frequency.shift", std::to_string(expect))); in TEST_F()
156 EXPECT_EQ(expect, actual); in TEST_F()
161 uint32_t expect = DEFAULT_FREQUENCY_SHIFT; in TEST_F() local
162 uint32_t actual = ~expect; in TEST_F()
169 EXPECT_EQ(expect, actual); in TEST_F()
174 uint32_t expect = std::rand(); in TEST_F() local
175 uint32_t actual = ~expect; in TEST_F()
177 EXPECT_TRUE(SetProperty(prefix + "short.voltage", std::to_string(expect))); in TEST_F()
182 EXPECT_EQ(expect, actual); in TEST_F()
187 uint32_t expect = DEFAULT_VOLTAGE_MAX; in TEST_F() local
188 uint32_t actual = ~expect; in TEST_F()
195 EXPECT_EQ(expect, actual); in TEST_F()
200 uint32_t expect = std::rand(); in TEST_F() local
201 uint32_t actual = ~expect; in TEST_F()
203 EXPECT_TRUE(SetProperty(prefix + "long.voltage", std::to_string(expect))); in TEST_F()
208 EXPECT_EQ(expect, actual); in TEST_F()
213 uint32_t expect = DEFAULT_VOLTAGE_MAX; in TEST_F() local
214 uint32_t actual = ~expect; in TEST_F()
221 EXPECT_EQ(expect, actual); in TEST_F()
226 uint32_t expect = std::rand(); in TEST_F() local
227 uint32_t actual = ~expect; in TEST_F()
229 EXPECT_TRUE(SetProperty(prefix + "click.duration", std::to_string(expect))); in TEST_F()
234 EXPECT_EQ(expect, actual); in TEST_F()
239 uint32_t expect = DEFAULT_CLICK_DURATION_MS; in TEST_F() local
240 uint32_t actual = ~expect; in TEST_F()
247 EXPECT_EQ(expect, actual); in TEST_F()
252 uint32_t expect = std::rand(); in TEST_F() local
253 uint32_t actual = ~expect; in TEST_F()
255 EXPECT_TRUE(SetProperty(prefix + "tick.duration", std::to_string(expect))); in TEST_F()
260 EXPECT_EQ(expect, actual); in TEST_F()
265 uint32_t expect = DEFAULT_TICK_DURATION_MS; in TEST_F() local
266 uint32_t actual = ~expect; in TEST_F()
273 EXPECT_EQ(expect, actual); in TEST_F()
278 uint32_t expect = DEFAULT_DOUBLE_CLICK_DURATION_MS; in TEST_F() local
279 uint32_t actual = ~expect; in TEST_F()
284 EXPECT_EQ(expect, actual); in TEST_F()
289 uint32_t expect = std::rand(); in TEST_F() local
290 uint32_t actual = ~expect; in TEST_F()
292 EXPECT_TRUE(SetProperty(prefix + "heavyclick.duration", std::to_string(expect))); in TEST_F()
297 EXPECT_EQ(expect, actual); in TEST_F()
302 uint32_t expect = DEFAULT_HEAVY_CLICK_DURATION_MS; in TEST_F() local
303 uint32_t actual = ~expect; in TEST_F()
310 EXPECT_EQ(expect, actual); in TEST_F()
314 std::string expect = std::to_string(std::rand()) + " " + std::to_string(std::rand()) + " " + in TEST_F() local
318 write("autocal", expect); in TEST_F()
323 EXPECT_EQ(expect, actual); in TEST_F()
335 uint32_t expect = std::rand(); in TEST_F() local
336 uint32_t actual = ~expect; in TEST_F()
338 write("lra_period", expect); in TEST_F()
343 EXPECT_EQ(expect, actual); in TEST_F()
347 uint32_t expect = DEFAULT_LRA_PERIOD; in TEST_F() local
348 uint32_t actual = ~expect; in TEST_F()
353 EXPECT_EQ(expect, actual); in TEST_F()