Example #1
0
 public void TestCot(double firstArgument, double output)
 {
     var calculator = new Cot();
     var testResult = calculator.Calculate(firstArgument);
     Assert.AreEqual(output, testResult, 0.001);
 }
Example #2
0
 public void CotangensNaNTest()
 {
     var calculator = new Cot();
     calculator.Calculate(180);
 }