예제 #1
0
 public void CalculateTest(double argument, double result, double accracy)
 {
     var testingFunction = new Arcsin();
     var testResult = testingFunction.Calculate(argument);
     Assert.AreEqual(result, testResult, accracy);
 }
예제 #2
0
 public void ArcTestsNegative()
 {
     var calculator = new Arcsin();
     var result = calculator.Calculate(-6);
 }