public void CalculateTest(double firstValue, double expected)
        {
            var calculator   = new ModuleCalculator();
            var actualResult = calculator.Calculate(firstValue);

            Assert.AreEqual(expected, actualResult);
        }
Ejemplo n.º 2
0
        public void Calculate(double argument, double result)
        {
            var calculator = new ModuleCalculator();
            var testResult = calculator.Calculate(argument);


            Assert.AreEqual(result, testResult);
        }