Skip to content

Commit

Permalink
nit fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill-hbrhbr committed Dec 20, 2024
1 parent b20162f commit df41b22
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions components/core/tests/test-StreamingCompression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include <boost/filesystem/operations.hpp>
#include <Catch2/single_include/catch2/catch.hpp>
#include <lzma.h>
#include <zstd.h>

#include "../src/clp/Array.hpp"
Expand All @@ -35,20 +34,14 @@ using std::string_view;
namespace {
constexpr string_view cCompressedFilePath{"test_streaming_compressed_file.bin"};
constexpr size_t cBufferSize{128L * 1024 * 1024}; // 128MB
// Interleave no-ops to ensure the integrity of the compressor states at all times.
constexpr auto cCompressionChunkSizes = std::to_array<size_t>(
{cBufferSize / 100,
0,
{0, // no-op
cBufferSize / 100,
cBufferSize / 50,
0,
cBufferSize / 25,
0,
cBufferSize / 10,
0,
cBufferSize / 5,
0,
cBufferSize / 2,
0,
cBufferSize}
);

Expand Down

0 comments on commit df41b22

Please sign in to comment.