public void CalculateTest(double firstValue, double expected) { var calculator = new CtanxCalculator(); var result = calculator.Calculate(firstValue); Assert.AreEqual(expected, result, 0.0001); }
public void CtanxCalculator( double firstValue, double expected) { CtanxCalculator calculator = new CtanxCalculator(); double actual = calculator.Calculate(firstValue); Assert.AreEqual(expected, actual, 0.001); }