Exemplo n.º 1
0
        public void CalculateTest(double arOne, double arTwo, double expected)
        {
            var calculator   = new Maximum();
            var actualResult = calculator.Calculate(arOne, arTwo);

            Assert.AreEqual(expected, actualResult);
        }
Exemplo n.º 2
0
        public void CalculateMaximumTestStrong(double firstValue, double secondValue, double expected)
        {
            ITwoArgumentsCalculator calculator = new Maximum();
            double result = calculator.Calculate(3, 5);

            Assert.AreEqual(5, result);
        }