zephyr/tests/unit/util
Kornel Dulęba 8fc913374f include: util: Add DIV_ROUND_CLOSEST helper
It's similar to DIV_ROUND_UP, but rounds to the nearest integer.
Some basic unit tests were introduced to check that it works as
intended.

Signed-off-by: Kornel Dulęba <mindal@semihalf.com>
2023-07-21 10:49:41 +00:00
..
CMakeLists.txt test: update how unit tests set sources 2022-10-31 17:01:59 +01:00
main.c include: util: Add DIV_ROUND_CLOSEST helper 2023-07-21 10:49:41 +00:00
maincxx.cxx test,arch: fix few odd suffix include paths 2022-07-18 14:44:47 -04:00
prj.conf tests: unit: move the util test to new ztest API 2022-09-09 08:33:00 -04:00
test.inc include: util: Add DIV_ROUND_CLOSEST helper 2023-07-21 10:49:41 +00:00
testcase.yaml samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00