Home
last modified time | relevance | path

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

/Zephyr-latest/tests/drivers/sensor/ina237/src/
Dina237_test.c151 double power_expected_W = 0.2 * fixture->current_lsb_uA * 1e-6 * power_register; in test_power() local
161 zexpect_within(power_expected_W, power_actual_W, 1e-6, in test_power()
162 "Expected %.6f C, got %.6f C", power_expected_W, power_actual_W); in test_power()
/Zephyr-latest/tests/drivers/sensor/ina230/src/
Dina230_test.c196 double power_expected_W = power_register * scale * fixture->current_lsb_uA * 1e-6; in test_power() local
206 zexpect_within(power_expected_W, power_actual_W, 1e-6, in test_power()
207 "Expected %.6f W, got %.6f W for %d", power_expected_W, in test_power()