Example #1
0
 public void ArccosTestMoreOne()
 {
     IOneArgCalculator calculator = new Arcsin();
     Assert.Throws<Exception>(() => calculator.Calculate(12));
 }
 public void ArcsinTest(double first, double second)
 {
     IOneArgCalculator calculator = new Arcsin();
     double result = calculator.Calculate(first);
     Assert.AreEqual(second, result, 0.00001);
 }