Exemplo n.º 1
0
 public void CalculateTest(double argument, double result, double accracy)
 {
     var testingFunction = new Arccos();
     var testResult = testingFunction.Calculate(argument);
     Assert.AreEqual(result, testResult, accracy);
 }
Exemplo n.º 2
0
 public void ArcTestsNegative()
 {
     var calculator = new Arccos();
     var result = calculator.Calculate(-6);
 }