Skip to main content

test_inf_handling

Function test_inf_handling 

Source
pub fn test_inf_handling<F>(predict: F) -> EdgeCaseResult
where F: Fn(&[f32]) -> Result<Vec<f32>, String>,
Expand description

Test if a function handles Infinity inputs gracefully