Home
last modified time | relevance | path

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

/Zephyr-latest/tests/drivers/fuel_gauge/bq27z746/src/
Dtest_bq27z746.c148 zassert_between_inclusive(props[0].avg_current, -32768 * 1000, 32767 * 1000); in ZTEST_USER_F()
149 zassert_between_inclusive(props[1].cycle_count, 0, 6553500); in ZTEST_USER_F()
150 zassert_between_inclusive(props[2].current, -32768 * 1000, 32767 * 1000); in ZTEST_USER_F()
151 zassert_between_inclusive(props[3].full_charge_capacity, 0, 32767 * 1000); in ZTEST_USER_F()
152 zassert_between_inclusive(props[4].remaining_capacity, 0, 32767 * 1000); in ZTEST_USER_F()
153 zassert_between_inclusive(props[5].runtime_to_empty, 0, 65535); in ZTEST_USER_F()
154 zassert_between_inclusive(props[6].runtime_to_full, 0, 65535); in ZTEST_USER_F()
156 zassert_between_inclusive(props[8].relative_state_of_charge, 0, 100); in ZTEST_USER_F()
157 zassert_between_inclusive(props[9].temperature, 0, 32767); in ZTEST_USER_F()
158 zassert_between_inclusive(props[10].voltage, 0, 32767 * 1000); in ZTEST_USER_F()
[all …]
/Zephyr-latest/tests/application_development/code_relocation/src/
Dtest_file1.c49 zassert_between_inclusive((uintptr_t)&var_sram2_data, in ZTEST()
53 zassert_between_inclusive((uintptr_t)&k_sem_give, in ZTEST()
57 zassert_between_inclusive((uintptr_t)&var_sram2_rodata, in ZTEST()
61 zassert_between_inclusive((uintptr_t)&var_sram2_bss, in ZTEST()
76 zassert_between_inclusive((uintptr_t)&function_in_custom_section, in ZTEST()
80 zassert_between_inclusive((uintptr_t)&var_custom_data, in ZTEST()
Dtest_file3.c24 zassert_between_inclusive((uintptr_t)&var_file3_sram_data,
28 zassert_between_inclusive((uintptr_t)&var_file3_sram2_bss,
Dtest_file4.c24 zassert_between_inclusive((uintptr_t)&var_file4_sram2_data,
28 zassert_between_inclusive((uintptr_t)&var_file4_sram2_bss,
Dtest_file5.c24 zassert_between_inclusive((uintptr_t)&var_file5_sram2_data,
28 zassert_between_inclusive((uintptr_t)&var_file5_sram2_bss,
/Zephyr-latest/tests/application_development/code_relocation/test_lib/
Dtest_lib1.c30 zassert_between_inclusive((uintptr_t)&var_lib1_sram2_data,
34 zassert_between_inclusive((uintptr_t)&var_lib1_sram2_bss,
38 zassert_between_inclusive((uintptr_t)&relocated_helper,
/Zephyr-latest/tests/drivers/gpio/gpio_basic_api/src/
Dtest_config_trigger.c69 zassert_between_inclusive(cb_cnt, 0, 1, "Got %d interrupts", cb_cnt); in ZTEST()
116 zassert_between_inclusive(cb_cnt, 0, 1, "Got %d interrupts", cb_cnt); in ZTEST()
/Zephyr-latest/tests/drivers/clock_control/nrf_clock_control/src/
Dmain.c167 zassert_between_inclusive(ret, 0, 2); in test_request_release_clock_spec()
297 zassert_between_inclusive(ret, 0, 2); in ZTEST()
303 zassert_between_inclusive(ret, ONOFF_STATE_ON, ONOFF_STATE_TO_ON); in ZTEST()
/Zephyr-latest/tests/drivers/sensor/adltc2990/src/
Dmain.c19 zassert_between_inclusive( \
33 zassert_between_inclusive( \
234 zassert_between_inclusive(test_value, -0.16f, -0.159f, "Out of Range [-0.16,-0.159]%.6f", in ZTEST_F()
238 zassert_between_inclusive(test_value, 2.69f, 2.7f, "Out of Range [2.69, 2.7]%.6f", in ZTEST_F()
468 zassert_between_inclusive(test_value, 6.0, 6.1, "Out of Range [6.0,6.1] %.6f", in ZTEST_F()
/Zephyr-latest/tests/drivers/comparator/gpio_loopback/src/
Dtest.c36 zassert_between_inclusive(comparator_trigger_is_pending(test_dev), 0, 1); in test_before()
/Zephyr-latest/tests/drivers/regulator/voltage/src/
Dmain.c100 zassert_between_inclusive(val_mv * 1000, in ZTEST()
/Zephyr-latest/tests/subsys/debug/symtab/src/
Dmain.c34 zassert_between_inclusive((uintptr_t)main, first_addr, last_addr, in ZTEST()
/Zephyr-latest/tests/bluetooth/audio/mocks/src/
Dgatt.c489 zassert_between_inclusive( in bt_gatt_discover()
492 zassert_between_inclusive( in bt_gatt_discover()
/Zephyr-latest/tests/posix/common/src/
Dclock.c214 zassert_between_inclusive(cma, lo, hi); in ZTEST()
/Zephyr-latest/tests/lib/multi_heap/src/
Dtest_mheap_api.c371 zassert_between_inclusive((uintptr_t)ptr, (uintptr_t)blocks[i] + MHEAP_BYTES / 4, in ZTEST()
/Zephyr-latest/subsys/testsuite/ztest/include/zephyr/
Dztest_assert.h367 #define zassert_between_inclusive(a, l, u, ...) \ macro
/Zephyr-latest/tests/subsys/fs/zms/src/
Dmain.c864 zassert_between_inclusive(num, MIN_CACHE_OCCUPANCY, CONFIG_ZMS_LOOKUP_CACHE_SIZE, in ZTEST_F()
887 zassert_between_inclusive(num, MIN_CACHE_OCCUPANCY, CONFIG_ZMS_LOOKUP_CACHE_SIZE, in ZTEST_F()
/Zephyr-latest/tests/subsys/fs/nvs/src/
Dmain.c934 zassert_between_inclusive(num, MIN_CACHE_OCCUPANCY, CONFIG_NVS_LOOKUP_CACHE_SIZE, in ZTEST_F()
957 zassert_between_inclusive(num, MIN_CACHE_OCCUPANCY, CONFIG_NVS_LOOKUP_CACHE_SIZE, in ZTEST_F()
/Zephyr-latest/tests/lib/devicetree/api/src/
Dmain.c3189 zassert_between_inclusive(ids[i], 0, ARRAY_SIZE(ids) - 1, ""); in ZTEST()
3223 zassert_between_inclusive(array_inst[i], token_zero, token_two, ""); in ZTEST()
3234 zassert_between_inclusive(array_inst_upper[i], TOKEN_ZERO, TOKEN_TWO, ""); in ZTEST()
3245 zassert_between_inclusive(array_inst_or[i], token_zero, token_two, ""); in ZTEST()
3256 zassert_between_inclusive(array_inst_upper_or[i], TOKEN_ZERO, TOKEN_TWO, ""); in ZTEST()
/Zephyr-latest/tests/drivers/counter/counter_basic_api/src/
Dtest_counter.c744 zassert_between_inclusive( in test_valid_function_without_alarm()
/Zephyr-latest/tests/net/dhcpv6/src/
Dmain.c324 zassert_between_inclusive(elapsed_time, min_accepted, max_accepted, in verify_dhcpv6_elapsed_time()