| 35 | } |
| 36 | |
| 37 | TEST(ZStdUtils, isZstdFileReturnsFalseForShortInput) { |
| 38 | std::array<Byte, 3> data = {0x28, 0xB5, 0x2F}; |
| 39 | ASSERT_FALSE(ZStdUtils::isZstdFile(data.data(), data.size())); |
| 40 | } |
| 41 | |
| 42 | TEST(ZStdUtils, isZstdFileReturnsTrueForZstdMagic) { |
| 43 | std::vector<Byte> payload(64, 0x42); |
nothing calls this directly
no test coverage detected