Ejemplo n.º 1
0
        public void DivideNumbers(float[] numbers, float expected)
        {
            var result = Calculator.Divide(numbers);

            Assert.Equal(result, expected);
        }
        public void Should_Divide()
        {
            var result = _calculator.Divide(15, 3);

            Assert.AreEqual(result, 5, "15 / 3 should be 5.");
        }