Searched refs:expect_ugauss (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/drivers/sensor/akm09918c/src/ |
D | main.c | 53 int64_t expect_ugauss; in test_fetch_magnetic_field() local 74 expect_ugauss = magn_percent[0] * AKM09918C_MICRO_GAUSS_PER_BIT; in test_fetch_magnetic_field() 75 zassert_within(expect_ugauss, actual_ugauss, INT64_C(5), in test_fetch_magnetic_field() 77 expect_ugauss, actual_ugauss); in test_fetch_magnetic_field() 80 expect_ugauss = magn_percent[1] * AKM09918C_MICRO_GAUSS_PER_BIT; in test_fetch_magnetic_field() 81 zassert_within(expect_ugauss, actual_ugauss, INT64_C(5), in test_fetch_magnetic_field() 83 expect_ugauss, actual_ugauss); in test_fetch_magnetic_field() 86 expect_ugauss = magn_percent[2] * AKM09918C_MICRO_GAUSS_PER_BIT; in test_fetch_magnetic_field() 87 zassert_within(expect_ugauss, actual_ugauss, INT64_C(5), in test_fetch_magnetic_field() 89 expect_ugauss, actual_ugauss); in test_fetch_magnetic_field()
|