()
| 473 | |
| 474 | #[test] |
| 475 | fn delimited_roundtrip() { |
| 476 | let data = b"line one\nline two\nline three\nline one\nline two"; |
| 477 | let encoded = encode_delimited(data, b'\n'); |
| 478 | let decoded = decode_delimited(&encoded, b'\n').unwrap(); |
| 479 | assert_eq!(decoded, data); |
| 480 | } |
| 481 | |
| 482 | #[test] |
| 483 | fn compression_ratio_structured_logs() { |
nothing calls this directly
no test coverage detected