public void BrokenCalc(int x, int y, int expected)
        {
            var sut    = new BrokenCalculator();
            var actual = sut.BrokenCalc(x, y);

            Assert.AreEqual(expected, actual);
        }
Beispiel #2
0
        public void BrokenCalculatorTest(int X, int Y, int expected)
        {
            var brokenCalculator = new BrokenCalculator();

            var actual = brokenCalculator.BrokenCalc(X, Y);

            Assert.That(actual, Is.EqualTo(expected));
        }