public void MeanIntTest() { int[] values = { 10, 20, 30 }; double mean = fmean.Mean(values); Assert.AreEqual(20, mean); }
public void MeanTest() { int[] values = { 1, 2, 3 }; var mean = StatsMean.Mean(values); Assert.AreEqual(2, mean); }
public dynamic Mean(dynamic values) { return(mean.Mean(values)); }