(lsn: u64)
| 463 | } |
| 464 | |
| 465 | fn test_header(lsn: u64) -> [u8; HEADER_SIZE] { |
| 466 | let mut h = [0u8; HEADER_SIZE]; |
| 467 | h[8..16].copy_from_slice(&lsn.to_le_bytes()); |
| 468 | h |
| 469 | } |
| 470 | |
| 471 | #[test] |
| 472 | fn encrypt_decrypt_roundtrip() { |
no outgoing calls
no test coverage detected