(mut x: u32)
| 37 | } |
| 38 | |
| 39 | fn rand_tinyvec(mut x: u32) -> TinyVec<[u32; CAPACITY]> { |
| 40 | let mut tested: TinyVec<[u32; CAPACITY]> = Default::default(); |
| 41 | let len = xorshift(x) as u8; /* Effectively modulo 256 */ |
| 42 | |
| 43 | for _ in 0..len { |
| 44 | x = xorshift(x); |
| 45 | tested.push(x); |
| 46 | } |
| 47 | |
| 48 | return tested; |
| 49 | } |
| 50 | |
| 51 | fn fuzz_cycle(data: &[u8]) -> Result<(), ()> { |
| 52 | use arbitrary::{Arbitrary, Unstructured}; |
no test coverage detected