assert_mean_approx_equal

Function assert_mean_approx_equal 

Source
pub fn assert_mean_approx_equal<E: Numeric>(data: &[E], expected_mean: f32)
Expand description

Asserts that the mean of a dataset is approximately equal to an expected value, within 2.5 standard deviations. There is a very small chance this raises a false negative.