Tests: Refactor test_block_header.c.
commit827ac5b4821491fd3afe0d0e1ddac326253aeb66
authorJia Tan <jiat0218@gmail.com>
Thu, 6 Oct 2022 09:00:38 +0000 (6 17:00 +0800)
committerLasse Collin <lasse.collin@tukaani.org>
Thu, 6 Oct 2022 18:51:48 +0000 (6 21:51 +0300)
tree3560b6bc70e68054c215332585cb7ad3b8b23543
parent84963318952064a93bfc52edd6b0ef70593384ee
Tests: Refactor test_block_header.c.

test_block_header now achieves higher test coverage. Also the
test will now compile and skip properly if encoders or decoders
are disabled.

Thanks to Sebastian Andrzej Siewior.
tests/test_block_header.c