zephyr/tests/unit
Chris Friedt 74c9c0e7a3 tests: time_units: check for overflow in z_tmcvt intermediate
Prior to #41602, due to the ordering of operations (first mul,
then div), an intermediate value would overflow, resulting in
a time non-linearity.

This test ensures that time rolls-over properly.

Signed-off-by: Chris Friedt <cfriedt@meta.com>
2022-12-19 09:36:38 +00:00
..
base64 test: update how unit tests set sources 2022-10-31 17:01:59 +01:00
cbprintf tests/cbprintf: Use minimal libc to test cbprintf code 2022-11-08 10:44:36 +01:00
crc crc: Make the build of crc function dependent on a Kconfig 2022-11-23 13:30:00 +01:00
intmath test: update how unit tests set sources 2022-10-31 17:01:59 +01:00
list test: update how unit tests set sources 2022-10-31 17:01:59 +01:00
math_extras test: update how unit tests set sources 2022-10-31 17:01:59 +01:00
net_timeout test: update how unit tests set sources 2022-10-31 17:01:59 +01:00
rbtree test: update how unit tests set sources 2022-10-31 17:01:59 +01:00
time_units tests: time_units: check for overflow in z_tmcvt intermediate 2022-12-19 09:36:38 +00:00
timeutil test: update how unit tests set sources 2022-10-31 17:01:59 +01:00
util test: update how unit tests set sources 2022-10-31 17:01:59 +01:00
winstream test: update how unit tests set sources 2022-10-31 17:01:59 +01:00