| 44 | } |
| 45 | |
| 46 | UNIT_TEST(ZLib_Smoke) |
| 47 | { |
| 48 | Deflate const deflate(Deflate::Format::ZLib, Deflate::Level::BestCompression); |
| 49 | Inflate const inflate(Inflate::Format::ZLib); |
| 50 | |
| 51 | { |
| 52 | string s; |
| 53 | TEST(!deflate(nullptr /* data */, 0 /* size */, back_inserter(s) /* out */), ()); |
| 54 | TEST(!deflate(nullptr /* data */, 4 /* size */, back_inserter(s) /* out */), ()); |
| 55 | TEST(!inflate(nullptr /* data */, 0 /* size */, back_inserter(s) /* out */), ()); |
| 56 | TEST(!inflate(nullptr /* data */, 4 /* size */, back_inserter(s) /* out */), ()); |
| 57 | } |
| 58 | |
| 59 | TestDeflateInflate(""); |
| 60 | TestDeflateInflate("Hello, World!"); |
| 61 | } |
| 62 | |
| 63 | UNIT_TEST(ZLib_Large) |
| 64 | { |
nothing calls this directly
no test coverage detected