Home
last modified time | relevance | path

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

/Zephyr-latest/tests/drivers/sensor/ina237/src/
Dina237_test.c86 double current_expected_A = fixture->current_lsb_uA * 1e-6 * current_register; in test_current() local
96 zexpect_within(current_expected_A, current_actual_A, fixture->current_lsb_uA*1e-6, in test_current()
97 "Expected %.6f A, got %.6f A", current_expected_A, current_actual_A); in test_current()
/Zephyr-latest/tests/drivers/sensor/ina230/src/
Dina230_test.c127 double current_expected_A = fixture->current_lsb_uA * 1e-6 * current_register; in test_current() local
137 zexpect_within(current_expected_A, current_actual_A, fixture->current_lsb_uA*1e-6, in test_current()
138 "Expected %.6f A, got %.6f A", current_expected_A, current_actual_A); in test_current()