public void CalculationTest(double firstValue, double expected) { var calculator = new ECalculator(); var actualResult = calculator.Calculate(firstValue); Assert.AreEqual(expected, actualResult, 0.1); }
public void CalculateTest(double firstValue, double expected) { var calculator = new ECalculator(); var result = calculator.Calculate(firstValue); Assert.AreEqual(expected, result, 0.0001); }