| 89 | }; |
| 90 | |
| 91 | TEST_F(DecompressReaderTest, AbleToDecompressEmptyData) { |
| 92 | unsigned char input[10] = {0}; |
| 93 | bufReader.setData(input, 0); |
| 94 | |
| 95 | char buf[10000]; |
| 96 | uint64_t count = decompressReader.read(buf, sizeof(buf)); |
| 97 | |
| 98 | EXPECT_EQ((uint64_t)0, count); |
| 99 | } |
| 100 | |
| 101 | TEST_F(DecompressReaderTest, AbleToDecompressSmallCompressedData) { |
| 102 | // 1. compressed data to decompress |
nothing calls this directly
no test coverage detected