()
| 500 | |
| 501 | #[test] |
| 502 | fn bytes_pipeline_roundtrip() { |
| 503 | let raw: Vec<u8> = (0..1000u32).flat_map(|i| i.to_le_bytes()).collect(); |
| 504 | for codec in [ColumnCodec::Raw, ColumnCodec::Lz4] { |
| 505 | let encoded = encode_bytes_pipeline(&raw, codec).unwrap(); |
| 506 | let decoded = decode_bytes_pipeline(&encoded, codec).unwrap(); |
| 507 | assert_eq!(decoded, raw, "bytes pipeline {codec} failed"); |
| 508 | } |
| 509 | } |
| 510 | } |
nothing calls this directly
no test coverage detected