summaryrefslogtreecommitdiff
path: root/testdata/compression
AgeCommit message (Collapse)AuthorFilesLines
2023-10-25testdata: Fix spellingJoseph Sutton1-2/+2
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-12-01lib/compression: add test data for lzxpress plain compressionDouglas Bagnall99-0/+130
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
2022-12-01testdata: move compression examples to re-use with lzxpress plainDouglas Bagnall163-35/+47
Everything that is in testdata/compression/lzxpress-huffman/ can also be used for lzxpress plain tests, which is something we really need. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
2022-12-01testdata: add test vectors for LZ77+Huffman [de-]compressionDouglas Bagnall162-0/+17592
Some of the decompressed files were found via fuzzing, some are public domain texts, and some are designed to test one aspect or another of the format. For example, some aspects of Huffman tree creation can only be tested when there is an extreme imbalance in the frequency of symbols. See the README for what files are where. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>