示例#1
0
        public void WhenNegSubFiveAndThreeThaenGotEight()
        {
            // Arrange
            MathCalculatorr calculator = new MathCalculatorr();

            // Act
            var result = calculator.Substract(-Five, Three);

            // Assert
            Assert.Equal(-8, result);
        }
示例#2
0
        public void WhenSumFiveAndThreeThaenGotEight()
        {
            // Arrange
            MathCalculatorr calculator = new MathCalculatorr();

            // Act
            var result = calculator.Sum(Five, Three);

            // Assert
            Assert.Equal(8, result);
        }