zephyr/tests/lib/linear_range
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
..
src sys: linear_range: fix return value when window is outside range 2023-02-20 10:43:26 +01:00
CMakeLists.txt
prj.conf
testcase.yaml