示例#1
0
        public void CheckFindingNthRoot(double number, int degree, double precision, double expected)
        {
            double result = Task01.FindNthRoot(number, degree, precision);

            Assert.That(Math.Abs(expected - result), Is.LessThan(precision));
        }