assert_close

Function assert_close 

Source
pub fn assert_close(what: &str, got: &[f64], want: &[f64], tol: f64)
Expand description

Elementwise max-abs comparison that names the worst index and both values.