()
| 41 | use super::*; |
| 42 | #[test] |
| 43 | fn deterministic() { |
| 44 | let mut det = Deterministic::new(vec![1, 2, 3, 4]); |
| 45 | let mut buf = vec![0; 1024]; |
| 46 | det.try_fill_bytes(&mut buf).expect("get randomness"); |
| 47 | for (ix, b) in buf.iter().enumerate() { |
| 48 | assert_eq!(*b, (ix % 4) as u8 + 1) |
| 49 | } |
| 50 | } |
| 51 | } |
nothing calls this directly
no test coverage detected