Make compression tests a bit more lenient for reduced efficiency

This commit is contained in:
baldurk
2020-03-13 19:16:28 +00:00
parent 4f39279578
commit 4dde584415
+1 -1
View File
@@ -58,7 +58,7 @@ TEST_CASE("Test LZ4 compression/decompression", "[streamio][lz4]")
// check that the compression got good wins out of the above data. The random data will be
// pretty much untouched but the rest should compress massively.
CHECK(buf.GetOffset() < 1024 * 1024 + 20 * 1024);
CHECK(buf.GetOffset() < 1024 * 1024 + 30 * 1024);
CHECK(writer.GetOffset() == 4 * 1024 * 1024);
CHECK_FALSE(writer.IsErrored());