blob: 143dd0965f598433c093e65297cc66cbe58f5c2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#include "base/SRC_FIRST.hpp"
#include "testing/testing.hpp"
#include "coding/coding_tests/coder_test.hpp"
#include "coding/gzip_compressor.hpp"
namespace
{
void CompressGZipLevel1(char const * pSrc, size_t srcSize, string & dst)
{
return CompressGZip(1, pSrc, srcSize, dst);
}
void CompressGZipLevel9(char const * pSrc, size_t srcSize, string & dst)
{
return CompressGZip(1, pSrc, srcSize, dst);
}
}
UNIT_TEST(AaaaGZipCompressionLevel1)
{
CoderAaaaTest(&CompressGZipLevel1, &DecompressGZip);
}
UNIT_TEST(AaaaGZipCompressionLevel9)
{
CoderAaaaTest(&CompressGZipLevel9, &DecompressGZip);
}
|