zephyr/tests/lib/json
Benjamin Cabé 878de4727a tests: lib: json: zero-initialize structs before using memcmp in tests
Zero-initialize the `test_int_limits` and `test_enums` structs before
assignment and decoding in their respective tests.

This ensures that all padding bytes are set to zero, making
`memcmp`-based comparisons reliable and portable across different
architectures and compilers.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-05-06 18:23:49 +02:00
..
src tests: lib: json: zero-initialize structs before using memcmp in tests 2025-05-06 18:23:49 +02:00
CMakeLists.txt
prj.conf json: improve parsing and serializing of integers 2025-04-11 06:32:50 +02:00
testcase.yaml