Home
last modified time | relevance | path

Searched refs:expect_10udps (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/tests/drivers/sensor/icm42688/src/
Dmain.c155 int32_t expect_10udps; in test_fetch_gyro_with_range() local
181 expect_10udps = (int32_t)(gyro_percent[0] * INT64_C(100) * scale_mdps / INT16_MAX); in test_fetch_gyro_with_range()
182 zassert_within(expect_10udps, actual_10udps, epsilon_10udps, in test_fetch_gyro_with_range()
185 scale_mdps, expect_10udps, actual_10udps); in test_fetch_gyro_with_range()
188 expect_10udps = (int32_t)(gyro_percent[1] * INT64_C(100) * scale_mdps / INT16_MAX); in test_fetch_gyro_with_range()
189 zassert_within(expect_10udps, actual_10udps, epsilon_10udps, in test_fetch_gyro_with_range()
192 scale_mdps, expect_10udps, actual_10udps); in test_fetch_gyro_with_range()
195 expect_10udps = (int32_t)(gyro_percent[2] * INT64_C(100) * scale_mdps / INT16_MAX); in test_fetch_gyro_with_range()
196 zassert_within(expect_10udps, actual_10udps, epsilon_10udps, in test_fetch_gyro_with_range()
199 scale_mdps, expect_10udps, actual_10udps); in test_fetch_gyro_with_range()