Ejemplo n.º 1
0
        public void MaxXYTest(double first, double second, double expected)
        {
            var    calc   = new MaxXY();
            double result = calc.Calculate(first, second);

            Assert.AreEqual(expected, result);
        }
Ejemplo n.º 2
0
        public void CalculatorTest(
            double firstValue,
            double secondValue,
            double expected)
        {
            var calculator   = new MaxXY();
            var actualResult = calculator.Calculate(firstValue, secondValue);

            Assert.AreEqual(expected, actualResult);
        }