public void CalculateTest(double firstValue, double expected) { var calculator = new ArccosineCalculator(); var actualResult = calculator.Calculate(firstValue); Assert.AreEqual(expected, actualResult); }
public void ExceptionTest(double firstValue) { var calculator = new ArccosineCalculator(); Assert.Throws <Exception>(() => calculator.Calculate(firstValue)); }