예제 #1
0
 public void DivisionTestByZero(double firstArgument, double secondArgument)
 {
     var testingFunction = new Root();
     var testResult = testingFunction.Calculate(firstArgument, secondArgument);
 }
예제 #2
0
 public void CalculateTest(double firstArgument, double secondArgument, double result, double accracy)
 {
     var testingFunction = new Root();
     var testResult = testingFunction.Calculate(firstArgument, secondArgument);
     Assert.AreEqual(result, testResult, accracy);
 }