|
Advanced Chunk Processing Library 0.2.0
A comprehensive C++ library for advanced data chunking strategies and processing operations
|
#include "chunk_compression.hpp"#include <cstdint>#include <gtest/gtest.h>#include <limits>#include <numeric>#include <utility>#include <vector>
Include dependency graph for chunk_compress_test.cpp:Go to the source code of this file.
Classes | |
| class | ChunkCompressorTest |
Functions | |
| template<typename T > | |
| bool | ComparePairs (const std::pair< T, size_t > &lhs, const std::pair< T, size_t > &rhs) |
| TEST_F (ChunkCompressorTest, BasicDeltaEncode) | |
| TEST_F (ChunkCompressorTest, BasicRunLengthEncode) | |
| TEST_F (ChunkCompressorTest, DeltaDecodeEmpty) | |
| TEST_F (ChunkCompressorTest, DeltaDecodeSingle) | |
| TEST_F (ChunkCompressorTest, DeltaEncodeConstantSequence) | |
| TEST_F (ChunkCompressorTest, DeltaEncodeDecode) | |
| TEST_F (ChunkCompressorTest, DeltaEncodeEmpty) | |
| TEST_F (ChunkCompressorTest, DeltaEncodeSingle) | |
| TEST_F (ChunkCompressorTest, EmptyRunLength) | |
| TEST_F (ChunkCompressorTest, FloatingPointDelta) | |
| TEST_F (ChunkCompressorTest, FloatingPointRunLength) | |
| TEST_F (ChunkCompressorTest, LargeDeltas) | |
| TEST_F (ChunkCompressorTest, LargeSequenceCompression) | |
| TEST_F (ChunkCompressorTest, LongDeltaSequence) | |
| TEST_F (ChunkCompressorTest, NegativeDeltas) | |
| TEST_F (ChunkCompressorTest, SingleValueRunLength) | |
| TEST_F (ChunkCompressorTest, UniqueValuesRunLength) | |
| bool ComparePairs | ( | const std::pair< T, size_t > & | lhs, |
| const std::pair< T, size_t > & | rhs | ||
| ) |
| TEST_F | ( | ChunkCompressorTest | , |
| BasicDeltaEncode | |||
| ) |
Definition at line 61 of file chunk_compress_test.cpp.
References chunk_compression::ChunkCompressor< T >::delta_encode().
| TEST_F | ( | ChunkCompressorTest | , |
| BasicRunLengthEncode | |||
| ) |
Definition at line 26 of file chunk_compress_test.cpp.
References ComparePairs(), and chunk_compression::ChunkCompressor< T >::run_length_encode().
| TEST_F | ( | ChunkCompressorTest | , |
| DeltaDecodeEmpty | |||
| ) |
Definition at line 100 of file chunk_compress_test.cpp.
References chunk_compression::ChunkCompressor< T >::delta_decode().
| TEST_F | ( | ChunkCompressorTest | , |
| DeltaDecodeSingle | |||
| ) |
Definition at line 105 of file chunk_compress_test.cpp.
References chunk_compression::ChunkCompressor< T >::delta_decode().
| TEST_F | ( | ChunkCompressorTest | , |
| DeltaEncodeConstantSequence | |||
| ) |
Definition at line 72 of file chunk_compress_test.cpp.
References chunk_compression::ChunkCompressor< T >::delta_encode().
| TEST_F | ( | ChunkCompressorTest | , |
| DeltaEncodeDecode | |||
| ) |
Definition at line 93 of file chunk_compress_test.cpp.
References chunk_compression::ChunkCompressor< T >::delta_decode(), and chunk_compression::ChunkCompressor< T >::delta_encode().
| TEST_F | ( | ChunkCompressorTest | , |
| DeltaEncodeEmpty | |||
| ) |
Definition at line 81 of file chunk_compress_test.cpp.
References chunk_compression::ChunkCompressor< T >::delta_encode().
| TEST_F | ( | ChunkCompressorTest | , |
| DeltaEncodeSingle | |||
| ) |
Definition at line 86 of file chunk_compress_test.cpp.
References chunk_compression::ChunkCompressor< T >::delta_encode().
| TEST_F | ( | ChunkCompressorTest | , |
| EmptyRunLength | |||
| ) |
Definition at line 48 of file chunk_compress_test.cpp.
References chunk_compression::ChunkCompressor< T >::run_length_encode().
| TEST_F | ( | ChunkCompressorTest | , |
| FloatingPointDelta | |||
| ) |
Definition at line 127 of file chunk_compress_test.cpp.
References chunk_compression::ChunkCompressor< T >::delta_decode(), and chunk_compression::ChunkCompressor< T >::delta_encode().
| TEST_F | ( | ChunkCompressorTest | , |
| FloatingPointRunLength | |||
| ) |
Definition at line 53 of file chunk_compress_test.cpp.
References ComparePairs(), and chunk_compression::ChunkCompressor< T >::run_length_encode().
| TEST_F | ( | ChunkCompressorTest | , |
| LargeDeltas | |||
| ) |
Definition at line 111 of file chunk_compress_test.cpp.
References chunk_compression::ChunkCompressor< T >::delta_decode(), and chunk_compression::ChunkCompressor< T >::delta_encode().
| TEST_F | ( | ChunkCompressorTest | , |
| LargeSequenceCompression | |||
| ) |
Definition at line 138 of file chunk_compress_test.cpp.
References ComparePairs(), and chunk_compression::ChunkCompressor< T >::run_length_encode().
| TEST_F | ( | ChunkCompressorTest | , |
| LongDeltaSequence | |||
| ) |
Definition at line 145 of file chunk_compress_test.cpp.
References chunk_compression::ChunkCompressor< T >::delta_decode(), and chunk_compression::ChunkCompressor< T >::delta_encode().
| TEST_F | ( | ChunkCompressorTest | , |
| NegativeDeltas | |||
| ) |
Definition at line 120 of file chunk_compress_test.cpp.
References chunk_compression::ChunkCompressor< T >::delta_decode(), and chunk_compression::ChunkCompressor< T >::delta_encode().
| TEST_F | ( | ChunkCompressorTest | , |
| SingleValueRunLength | |||
| ) |
Definition at line 34 of file chunk_compress_test.cpp.
References ComparePairs(), and chunk_compression::ChunkCompressor< T >::run_length_encode().
| TEST_F | ( | ChunkCompressorTest | , |
| UniqueValuesRunLength | |||
| ) |
Definition at line 40 of file chunk_compress_test.cpp.
References ComparePairs(), and chunk_compression::ChunkCompressor< T >::run_length_encode().