Example #1
0
        public void CheckMedian()
        {
            Formulae      fo  = new Formulae();
            List <double> arr = new List <double>()
            {
                1, 2, 3, 4, 5
            };
            double result = fo.Median(arr);

            Assert.AreEqual(3, result);
        }