| 19 | } |
| 20 | |
| 21 | static void DoOnlyDecode(const TPackUnpackCase& case_) { |
| 22 | if (!case_.GetPacked()) { |
| 23 | return; |
| 24 | } |
| 25 | |
| 26 | TMemoryInput mi(case_.GetData().data(), case_.GetData().size()); |
| 27 | TDecodedInput di(&mi); |
| 28 | TNullOutput no; |
| 29 | TCountingOutput cno(&no); |
| 30 | TransferData(&di, &cno); |
| 31 | } |
| 32 | |
| 33 | static void DoDecodeEncode(const TPackUnpackCase& case_) { |
| 34 | auto* const codec = NBlockCodecs::Codec(case_.GetCodecName()); |
no test coverage detected