public void CalculationTest(double firstValue, double secondValue, double expected) { var calculator = new MinCalculator(); var actualResult = calculator.Calculate(firstValue, secondValue); Assert.AreEqual(expected, actualResult); }
public void CalculateTests(double firstValue, double secondValue, double expected) { MinCalculator minCalculator = new MinCalculator(); double result = minCalculator.Calculate(firstValue, secondValue); Assert.AreEqual(expected, result); }