]> git.ipfire.org Git - thirdparty/zstd.git/commit
seekable_format: Add unit test for multiple decompress calls 3581/head
authorYoni Gilad <yonig@radcom.com>
Tue, 22 Mar 2022 16:24:09 +0000 (18:24 +0200)
committerYann Collet <cyan@fb.com>
Thu, 30 Mar 2023 04:35:52 +0000 (21:35 -0700)
commit649a9c85c38195ff67065c02e207da9f8a342785
treebaffba57087fc4d44c92a772b80aebef7475dc13
parent618bf84e0d16070ac67a80b404041adb264c4952
seekable_format: Add unit test for multiple decompress calls

This does the following:
1. Compress test data into multiple frames
2. Perform a series of small decompressions and seeks forward, checking
   that compressed data wasn't reread unnecessarily.
3. Perform some seeks forward and backward to ensure correctness.
contrib/seekable_format/tests/seekable_tests.c