public void CheckMode() { Formulae fo = new Formulae(); List <double> arr = new List <double>() { 2, 4, 4, 1, 2, 4 }; double result = fo.Mode(arr); Assert.AreEqual(4, result); }