zephyr/tests/lib
Andy Sinclair 5f63fff9c2 sys: linear_range: fix return value when window is outside range
linear_range_get_win_index does not behave correctly when the
window of values is above the linear range.  It reports
-ERANGE (partial intersection) instead of -EINVAL.

Extra conditions added for edge cases and tests cases updated.

Signed-off-by: Andy Sinclair <andy.sinclair@nordicsemi.no>
2023-02-20 10:43:26 +01:00
..
c_lib tests: fix various test identifiers 2023-02-06 10:06:10 +01:00
cbprintf_fp tests: fix various test identifiers 2023-02-06 10:06:10 +01:00
cbprintf_package treewide: Use CONFIG_CPP instead of CONFIG_CPLUSPLUS 2023-01-13 17:42:55 -05:00
cmsis_dsp yamllint: fix all yamllint line-length errors 2023-01-04 01:16:45 +09:00
cmsis_nn includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
cpp subsys/cpp: Also run C++ tests with picolibc when possible 2023-01-20 09:03:25 +01:00
devicetree dts: Add _STRING_UNQUOTED string and string-array 2023-02-20 09:49:00 +01:00
fdtable ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
gui/lvgl tests: lib: gui: lvgl: Switch to FIXED_PARTITION_ macros 2022-09-06 09:56:37 +02:00
heap tests: fix various test identifiers 2023-02-06 10:06:10 +01:00
heap_align tests: fix various test identifiers 2023-02-06 10:06:10 +01:00
json json: Increase max number of descriptor elements from 30 to 62 2023-01-26 09:51:54 +00:00
linear_range sys: linear_range: fix return value when window is outside range 2023-02-20 10:43:26 +01:00
mem_alloc tests: Remove explicit newlib nano override 2022-10-19 16:02:51 +02:00
mem_blocks tests: fix various test identifiers 2023-02-06 10:06:10 +01:00
mem_blocks_stats tests: fix various test identifiers 2023-02-06 10:06:10 +01:00
mpsc_pbuf tests: fix various test identifiers 2023-02-06 10:06:10 +01:00
newlib tests: Remove explicit newlib nano override 2022-10-19 16:02:51 +02:00
notify lib: notify: build sys-notify conditionally. 2022-10-03 10:18:15 +02:00
onoff lib: onoff: add a config for on-off and build conditionally 2022-10-03 10:18:15 +02:00
p4workq tests: fix various test identifiers 2023-02-06 10:06:10 +01:00
ringbuffer yamllint: indentation: fix files in tests/ 2023-01-04 14:23:53 +01:00
smf yamllint: indentation: fix files in tests/ 2023-01-04 14:23:53 +01:00
sprintf tests: fix various test identifiers 2023-02-06 10:06:10 +01:00
spsc_pbuf tests: fix various test identifiers 2023-02-06 10:06:10 +01:00
sys_util tests: fix various test identifiers 2023-02-06 10:06:10 +01:00
thrift/ThriftTest tests: lib: thrift: add tests for the thrift module 2023-02-09 20:30:21 +09:00
time test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
uoscore includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00