#[cfg(test)]
#[cfg(feature = "zstd")]
mod tests {
    use crate::compression_engine::zstd::CompressionEngineZstd;
    use crate::tests::common::test_helpers::test_compression_engine;

    #[test]
    fn test_compression_engine_zstd() {
        let test_data = b"test compression data";
        let engine = CompressionEngineZstd {};
        test_compression_engine(&engine, test_data);
    }

    #[test]
    fn test_compression_engine_zstd_large_data() {
        let test_data: Vec<u8> = (0..10000).map(|i| (i % 256) as u8).collect();
        let engine = CompressionEngineZstd {};
        test_compression_engine(&engine, &test_data);
    }
}
