()
| 282 | |
| 283 | #[test] |
| 284 | fn header_metadata() { |
| 285 | let data = vec![42u8; 1000]; |
| 286 | let encoded = encode_with_level(&data, 7).unwrap(); |
| 287 | |
| 288 | assert_eq!(uncompressed_size(&encoded).unwrap(), 1000); |
| 289 | assert_eq!(compression_level(&encoded).unwrap(), 7); |
| 290 | } |
| 291 | |
| 292 | #[test] |
| 293 | fn better_ratio_than_lz4() { |
nothing calls this directly
no test coverage detected