示例#1
0
 public void Calculate(double firstArgument, double secondArgument, double result)
 {
     var calculator = new Pow();
     var testresult = calculator.Calculate(firstArgument, secondArgument);
     Assert.AreEqual(result, testresult);
 }
示例#2
0
 public void CalculateTest(double firstArgument, double secondArgument, double result, double accracy)
 {
     var testingFunction = new Pow();
     var testResult = testingFunction.Calculate(firstArgument, secondArgument);
     Assert.AreEqual(result, testResult, accracy);
 }