Lines Matching refs:expect
82 uint32_t expect = std::rand(); in TEST_F() local
83 uint32_t actual = ~expect; in TEST_F()
85 EXPECT_TRUE(SetProperty(prefix + "closeloop.threshold", std::to_string(expect))); in TEST_F()
90 EXPECT_EQ(expect, actual); in TEST_F()
95 uint32_t expect = UINT32_MAX; in TEST_F() local
96 uint32_t actual = ~expect; in TEST_F()
103 EXPECT_EQ(expect, actual); in TEST_F()
108 bool expect = false; in TEST_F() local
109 bool actual = !expect; in TEST_F()
116 EXPECT_EQ(expect, actual); in TEST_F()
121 bool expect = true; in TEST_F() local
122 bool actual = !expect; in TEST_F()
129 EXPECT_EQ(expect, actual); in TEST_F()
134 bool expect = false; in TEST_F() local
135 bool actual = !expect; in TEST_F()
142 EXPECT_EQ(expect, actual); in TEST_F()
147 uint32_t expect = std::rand(); in TEST_F() local
148 uint32_t actual = ~expect; in TEST_F()
150 EXPECT_TRUE(SetProperty(prefix + "long.frequency.shift", std::to_string(expect))); in TEST_F()
155 EXPECT_EQ(expect, actual); in TEST_F()
160 uint32_t expect = DEFAULT_FREQUENCY_SHIFT; in TEST_F() local
161 uint32_t actual = ~expect; in TEST_F()
168 EXPECT_EQ(expect, actual); in TEST_F()
173 uint32_t expect = std::rand(); in TEST_F() local
174 uint32_t actual = ~expect; in TEST_F()
176 EXPECT_TRUE(SetProperty(prefix + "short.voltage", std::to_string(expect))); in TEST_F()
181 EXPECT_EQ(expect, actual); in TEST_F()
186 uint32_t expect = DEFAULT_VOLTAGE_MAX; in TEST_F() local
187 uint32_t actual = ~expect; in TEST_F()
194 EXPECT_EQ(expect, actual); in TEST_F()
199 uint32_t expect = std::rand(); in TEST_F() local
200 uint32_t actual = ~expect; in TEST_F()
202 EXPECT_TRUE(SetProperty(prefix + "long.voltage", std::to_string(expect))); in TEST_F()
207 EXPECT_EQ(expect, actual); in TEST_F()
212 uint32_t expect = DEFAULT_VOLTAGE_MAX; in TEST_F() local
213 uint32_t actual = ~expect; in TEST_F()
220 EXPECT_EQ(expect, actual); in TEST_F()
225 uint32_t expect = std::rand(); in TEST_F() local
226 uint32_t actual = ~expect; in TEST_F()
228 EXPECT_TRUE(SetProperty(prefix + "click.duration", std::to_string(expect))); in TEST_F()
233 EXPECT_EQ(expect, actual); in TEST_F()
238 uint32_t expect = DEFAULT_CLICK_DURATION_MS; in TEST_F() local
239 uint32_t actual = ~expect; in TEST_F()
246 EXPECT_EQ(expect, actual); in TEST_F()
251 uint32_t expect = std::rand(); in TEST_F() local
252 uint32_t actual = ~expect; in TEST_F()
254 EXPECT_TRUE(SetProperty(prefix + "tick.duration", std::to_string(expect))); in TEST_F()
259 EXPECT_EQ(expect, actual); in TEST_F()
264 uint32_t expect = DEFAULT_TICK_DURATION_MS; in TEST_F() local
265 uint32_t actual = ~expect; in TEST_F()
272 EXPECT_EQ(expect, actual); in TEST_F()
277 uint32_t expect = DEFAULT_DOUBLE_CLICK_DURATION_MS; in TEST_F() local
278 uint32_t actual = ~expect; in TEST_F()
283 EXPECT_EQ(expect, actual); in TEST_F()
288 uint32_t expect = std::rand(); in TEST_F() local
289 uint32_t actual = ~expect; in TEST_F()
291 EXPECT_TRUE(SetProperty(prefix + "heavyclick.duration", std::to_string(expect))); in TEST_F()
296 EXPECT_EQ(expect, actual); in TEST_F()
301 uint32_t expect = DEFAULT_HEAVY_CLICK_DURATION_MS; in TEST_F() local
302 uint32_t actual = ~expect; in TEST_F()
309 EXPECT_EQ(expect, actual); in TEST_F()
313 std::string expect = std::to_string(std::rand()) + " " + std::to_string(std::rand()) + " " + in TEST_F() local
317 write("autocal", expect); in TEST_F()
322 EXPECT_EQ(expect, actual); in TEST_F()
334 uint32_t expect = std::rand(); in TEST_F() local
335 uint32_t actual = ~expect; in TEST_F()
337 write("lra_period", expect); in TEST_F()
342 EXPECT_EQ(expect, actual); in TEST_F()
346 uint32_t expect = DEFAULT_LRA_PERIOD; in TEST_F() local
347 uint32_t actual = ~expect; in TEST_F()
352 EXPECT_EQ(expect, actual); in TEST_F()