Esempio n. 1
0
 public void TestTan(double firstArgument, double output)
 {
     var calculator = new Tan();
     var testResult = calculator.Calculate(firstArgument);
     Assert.AreEqual(output, testResult, 0.0000001);
 }
Esempio n. 2
0
 public void TangensNaNTest()
 {
     var calculator = new Tan();
     calculator.Calculate(90);
 }