]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Updated comment to reflect actual compression behavior
authorSen Huang <senhuang96@fb.com>
Fri, 15 Nov 2019 19:57:44 +0000 (14:57 -0500)
committerSen Huang <senhuang96@fb.com>
Fri, 15 Nov 2019 21:11:14 +0000 (16:11 -0500)
tests/fuzzer.c

index e757daaba899f0b4484bc5dd2e474ce409004c00..7bf84196dfe105e6841fe458348d77b0dd75936a 100644 (file)
@@ -1999,7 +1999,7 @@ static int basicUnitTests(U32 const seed, double compressibility)
 
     /* long rle test */
     {   size_t sampleSize = 0;
-        size_t expectedCompressedSize = 39; /* two RLE blocks, zstd 1.4.4 */
+        size_t expectedCompressedSize = 39; /* block 1: RLE, block 2: compressed, block 3: RLE, zstd 1.4.4 */
         DISPLAYLEVEL(3, "test%3i : Long RLE test : ", testNb++);
         memset((char*)CNBuffer+sampleSize, 'B', 256 KB - 1);
         sampleSize += 256 KB - 1;