()
| 427 | } |
| 428 | |
| 429 | fn ascii_table() -> Vec<char> { |
| 430 | (0..256).map(|i| char::from_u32(i).unwrap()).collect() |
| 431 | } |
| 432 | |
| 433 | pub fn quantile_mapping(array: &[f64], num_letters: usize) -> Result<Vec<(f64, char)>, String> { |
| 434 | if num_letters == 0 || num_letters > 256 { |
no outgoing calls
no test coverage detected