public void MeanTest() { Assert.AreEqual(3, StatOperations.Mean(arrayB)); }
public void MeanTest() { double[] a = { 10.45, 20.5, 10, 20.1, 15.5 }; Assert.AreEqual(15.31, StatOperations.Mean(a)); }