aboutsummaryrefslogtreecommitdiff
path: root/tests/test_vli.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-06-14Tests: test_vli: Remove an invalid test-assertion.Lasse Collin1-2/+0
lzma_vli is unsigned so trying a signed value results in a compiler warning from -Wsign-conversion. (lzma_vli)-1 equals to LZMA_VLI_UNKNOWN anyway which is the next assertion.
2022-06-14Tests: test_vli: Add const where appropriate.Lasse Collin1-25/+28
2022-06-14Created tests for all functions exported in vli.hJia Tan1-0/+308
Achieved 100% code coverage vli_encoder.c, vli_decoder.c, and vli_size.c