public void Test_Mul()
        {
            CalculatorOp cal    = new CalculatorOp();
            int          result = cal.Mul(5, 4);

            Assert.AreEqual(20, result);
        }
        public void ShouldMulReurnTwentyWhenPassFiveandFour()
        {
            CalculatorOp sut    = new CalculatorOp();
            int          result = sut.Mul(5, 4);

            Assert.AreEqual(20, result);
        }
예제 #3
0
        public void ShouldMulReturnTwentyWhenPassFiveandFour()
        {
            //Arrange
            CalculatorOp sut = new CalculatorOp();
            //Act
            int result = sut.Mul(5, 4);

            //Assert
            Assert.AreEqual(20, result);
        }