public double Test_FindNthRoot(double number, int degree, double precision)
        {
            var result = CreatingTypes.FindNthRoot(number, degree, precision);

            return(result);
        }
        public void FindNthRoot_Number_Degree_Precision_ArgumentOutOfRangeException(double number, int degree, double precision)
        {
            var ex = Assert.Throws <System.ArgumentException>(() => { CreatingTypes.FindNthRoot(number, degree, precision); });

            Assert.AreEqual("Value does not fall within the expected range.", ex.Message);
        }
 public void FindNthRootTest2()
 {
     Assert.AreEqual(CreatingTypes.FindNthRoot(-0.008, 3, 0.1), -0.2);
 }
 public double FindNthRoot_Test(double number, int degree, double precision)
 {
     return(CreatingTypes.FindNthRoot(number, degree, precision));
 }
 public void FindNthRootTest1()
 {
     Assert.AreEqual(CreatingTypes.FindNthRoot(1, 5, 0.0001), 1);
 }