1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/tests/sys_atomic_utils_unittests
Marian Buschsieweke c015e64e8e
tests/sys_atomic_utils_unittests: spice up test
Initializing the state variables per loop with a value where some bits are set
and some are cleared makes much more sense. E.g. previously the bitwise and
applied on the state variable initialized with zero was unlikely to detect
implementation issues, as the state value never changed. So if the bitwise
and would be incorrectly implemented as a nop, it would have passed the unit
test.
2020-12-16 10:13:43 +01:00
..
tests tests/sys_atomic_utils_unittest: add sys atomic utils unittests 2020-11-13 08:47:18 +01:00
main.c tests/sys_atomic_utils_unittests: spice up test 2020-12-16 10:13:43 +01:00
Makefile tests/sys_atomic_utils_unittest: add sys atomic utils unittests 2020-11-13 08:47:18 +01:00