diff options
Diffstat (limited to 'zephyr/test/drivers/default/src/motion_sense/motion_sense.c')
-rw-r--r-- | zephyr/test/drivers/default/src/motion_sense/motion_sense.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zephyr/test/drivers/default/src/motion_sense/motion_sense.c b/zephyr/test/drivers/default/src/motion_sense/motion_sense.c index 8291e0e1c6..9ea6509fe3 100644 --- a/zephyr/test/drivers/default/src/motion_sense/motion_sense.c +++ b/zephyr/test/drivers/default/src/motion_sense/motion_sense.c @@ -12,7 +12,7 @@ extern enum chipset_state_mask sensor_active; ZTEST_SUITE(motion_sense, drivers_predicate_post_main, NULL, NULL, NULL, NULL); -ZTEST_USER(motion_sense, ec_motion_sensor_fill_values) +ZTEST_USER(motion_sense, test_ec_motion_sensor_fill_values) { struct ec_response_motion_sensor_data dst = { .data = { 1, 2, 3 }, @@ -25,7 +25,7 @@ ZTEST_USER(motion_sense, ec_motion_sensor_fill_values) zassert_equal(dst.data[2], v[2]); } -ZTEST_USER(motion_sense, ec_motion_sensor_clamp_i16) +ZTEST_USER(motion_sense, test_ec_motion_sensor_clamp_i16) { zassert_equal(ec_motion_sensor_clamp_i16(0), 0); zassert_equal(ec_motion_sensor_clamp_i16(200), 200); @@ -36,7 +36,7 @@ ZTEST_USER(motion_sense, ec_motion_sensor_clamp_i16) NULL); } -ZTEST_USER(motion_sense, ec_motion_sense_get_ec_config) +ZTEST_USER(motion_sense, test_ec_motion_sense_get_ec_config) { /* illegal state, should be translated to S5 */ sensor_active = 42; |