pub fn test_empty_handling<F>(predict: F) -> EdgeCaseResultwhere F: Fn(&[f32]) -> Result<Vec<f32>, String>,
Test if a function handles empty inputs gracefully