public void MaxXYTest(double first, double second, double expected) { var calc = new MaxXY(); double result = calc.Calculate(first, second); Assert.AreEqual(expected, result); }
public void CalculatorTest( double firstValue, double secondValue, double expected) { var calculator = new MaxXY(); var actualResult = calculator.Calculate(firstValue, secondValue); Assert.AreEqual(expected, actualResult); }