public void TangentCalculatorTest(double firstValue, double expected) { var calculator = new TangentCalculator(); var actualResult = calculator.Calculate(firstValue); Assert.AreEqual(expected, actualResult, 0.001); }
public void CosineCalculatorTest() { TangentCalculator calculator = new TangentCalculator(); Assert.AreEqual(0, calculator.Calculate(0)); }