Commit Graph

1 Commits

Author SHA1 Message Date
Gerhard Sittig f2a9a7c2c8 tests: also cover endianess conversion helpers
Introduce a new tests/conv.c source file which exercises the endianess
conversion macros. It's assumed that some use cases may break their
operation, fortunately these edge cases were not seen before, or the
unreliable operation went unnoticed. This test raises awareness of the
implementation's constraints.

This is a start, the test sequence will benefit from adding some more
cases to increase coverage.
2020-05-29 06:09:47 +02:00