Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/tests/drivers/gpio/gpio_basic_api/src/
Dtest_config_trigger.c70 zassert_between_inclusive(cb_cnt, 0, 1, "Got %d interrupts", cb_cnt); in ZTEST()
117 zassert_between_inclusive(cb_cnt, 0, 1, "Got %d interrupts", cb_cnt); in ZTEST()
/Zephyr-Core-3.7.0/tests/drivers/sensor/adltc2990/src/
Dmain.c20 zassert_between_inclusive( \
34 zassert_between_inclusive( \
235 zassert_between_inclusive(test_value, -0.16f, -0.159f, "Out of Range [-0.16,-0.159]%.6f", in ZTEST_F()
239 zassert_between_inclusive(test_value, 2.69f, 2.7f, "Out of Range [2.69, 2.7]%.6f", in ZTEST_F()
469 zassert_between_inclusive(test_value, 6.0, 6.1, "Out of Range [6.0,6.1] %.6f", in ZTEST_F()
/Zephyr-Core-3.7.0/tests/bluetooth/audio/mocks/src/
Dgatt.c295 zassert_between_inclusive( in bt_gatt_discover()
298 zassert_between_inclusive( in bt_gatt_discover()
/Zephyr-Core-3.7.0/tests/drivers/regulator/voltage/src/
Dmain.c100 zassert_between_inclusive(val_mv * 1000, in ZTEST()
/Zephyr-Core-3.7.0/tests/subsys/debug/symtab/src/
Dmain.c34 zassert_between_inclusive((uintptr_t)main, first_addr, last_addr, in ZTEST()
/Zephyr-Core-3.7.0/tests/posix/common/src/
Dclock.c214 zassert_between_inclusive(cma, lo, hi); in ZTEST()
/Zephyr-Core-3.7.0/subsys/testsuite/ztest/include/zephyr/
Dztest_assert.h361 #define zassert_between_inclusive(a, l, u, ...) \ macro
/Zephyr-Core-3.7.0/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-Core-3.7.0/tests/lib/devicetree/api/src/
Dmain.c2939 zassert_between_inclusive(ids[i], 0, ARRAY_SIZE(ids) - 1, ""); in ZTEST()
2973 zassert_between_inclusive(array_inst[i], token_zero, token_two, ""); in ZTEST()
2984 zassert_between_inclusive(array_inst_upper[i], TOKEN_ZERO, TOKEN_TWO, ""); in ZTEST()
2995 zassert_between_inclusive(array_inst_or[i], token_zero, token_two, ""); in ZTEST()
3006 zassert_between_inclusive(array_inst_upper_or[i], TOKEN_ZERO, TOKEN_TWO, ""); in ZTEST()
/Zephyr-Core-3.7.0/tests/net/dhcpv6/src/
Dmain.c324 zassert_between_inclusive(elapsed_time, min_accepted, max_accepted, in verify_dhcpv6_elapsed_time()