public void Mode() { var calc = new CalculateStatistics(); double result = calc.Mean("1,2,3,3"); Assert.AreEqual("3", result); }
public void Median() { var calc = new CalculateStatistics(); double result = calc.Mean("1,2,3,4,5,6"); Assert.AreEqual(3.5, result); }
public void Test1() { var calc = new CalculateStatistics(); Assert.AreEqual(2, calc.Mean("1,2,3")); }