Advanced Chunk Processing Library 0.2.0
A comprehensive C++ library for advanced data chunking strategies and processing operations
Loading...
Searching...
No Matches
ChunkCompressorTest Class Reference
+ Inheritance diagram for ChunkCompressorTest:
+ Collaboration diagram for ChunkCompressorTest:

Protected Member Functions

void SetUp () override
 

Protected Attributes

std::vector< int > empty_data = {}
 
std::vector< double > floating_data = {1.5, 1.5, 2.5, 2.5, 2.5}
 
std::vector< int > repeated_data = {1, 1, 1, 2, 2, 3, 3, 3, 3}
 
std::vector< int > same_data
 
std::vector< int > single_data
 
std::vector< int > single_value = {5}
 
std::vector< int > test_data
 
std::vector< int > unique_data = {1, 2, 3, 4, 5}
 

Detailed Description

Definition at line 16 of file chunk_compress_test.cpp.

Member Function Documentation

◆ SetUp()

void ChunkCompressorTest::SetUp ( )
inlineoverrideprotected

Definition at line 8 of file chunk_compression_test.cpp.

8 {
9 test_data = {1, 1, 1, 2, 2, 3, 4, 4, 4, 4};
10 empty_data = {};
11 single_data = {42};
12 same_data = std::vector<int>(5, 7);
13 }
std::vector< int > empty_data
std::vector< int > single_data

References empty_data, same_data, single_data, and test_data.

Member Data Documentation

◆ empty_data

std::vector< int > ChunkCompressorTest::empty_data = {}
protected

Definition at line 21 of file chunk_compress_test.cpp.

21{};

Referenced by SetUp().

◆ floating_data

std::vector<double> ChunkCompressorTest::floating_data = {1.5, 1.5, 2.5, 2.5, 2.5}
protected

Definition at line 22 of file chunk_compress_test.cpp.

22{1.5, 1.5, 2.5, 2.5, 2.5};

◆ repeated_data

std::vector<int> ChunkCompressorTest::repeated_data = {1, 1, 1, 2, 2, 3, 3, 3, 3}
protected

Definition at line 18 of file chunk_compress_test.cpp.

18{1, 1, 1, 2, 2, 3, 3, 3, 3};

◆ same_data

std::vector<int> ChunkCompressorTest::same_data
protected

Definition at line 18 of file chunk_compression_test.cpp.

Referenced by SetUp().

◆ single_data

std::vector<int> ChunkCompressorTest::single_data
protected

Definition at line 17 of file chunk_compression_test.cpp.

Referenced by SetUp().

◆ single_value

std::vector<int> ChunkCompressorTest::single_value = {5}
protected

Definition at line 19 of file chunk_compress_test.cpp.

19{5};

◆ test_data

std::vector<int> ChunkCompressorTest::test_data
protected

Definition at line 15 of file chunk_compression_test.cpp.

Referenced by SetUp().

◆ unique_data

std::vector<int> ChunkCompressorTest::unique_data = {1, 2, 3, 4, 5}
protected

Definition at line 20 of file chunk_compress_test.cpp.

20{1, 2, 3, 4, 5};

The documentation for this class was generated from the following files: