Skip to content
Commit 0c1877a9 authored by Alexander Wachter's avatar Alexander Wachter Committed by Anas Nashif
Browse files

ztest: fix z_assert_within() bounds



zassert_within should also compare on equality instead
of only greater/lower.
example:
zassert_within(1,1,0); // should return true
zassert_within(1,2,1); // should return true

Signed-off-by: default avatarAlexander Wachter <alexander@wachter.cloud>
parent a8b97075
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment