Generates a random alphanumeric string of the specified length.
(rng: &mut StdRng, len: usize)
| 46 | |
| 47 | /// Generates a random alphanumeric string of the specified length. |
| 48 | fn random_string(rng: &mut StdRng, len: usize) -> String { |
| 49 | let value = rng.sample_iter(&Alphanumeric).take(len).collect(); |
| 50 | String::from_utf8(value).unwrap() |
| 51 | } |
| 52 | |
| 53 | const IN_LIST_LENGTHS: [usize; 4] = [3, 8, 28, 100]; |
| 54 | const LIST_WITH_COLUMNS_LENGTHS: [usize; 3] = [3, 8, 28]; |
no test coverage detected
searching dependent graphs…