Helper: make a Hash from a byte pattern.
(byte: u8)
| 18 | |
| 19 | /// Helper: make a Hash from a byte pattern. |
| 20 | fn make_hash(byte: u8) -> Hash { |
| 21 | Hash::from_bytes([byte; 32]) |
| 22 | } |
| 23 | |
| 24 | /// Helper: make a Position<Option<Hash>> with a specific hash. |
| 25 | fn make_position(hash: Option<Hash>, pos: u64) -> Position<Option<Hash>> { |
no outgoing calls
no test coverage detected