예제 #1
0
        [TestCase(" ", " ", " ")]                       //failed

        public void ThemMonAn(string mam, string tenm, decimal gia)
        {
            //Arr
            var monAnUseCase  = new MonAnUseCase();
            var expectedCount = 1;

            //Act
            int themMonAn   = monAnUseCase.ThemMonAn(mam, tenm, gia);
            var actualCount = themMonAn;

            //Assert
            Assert.IsTrue(actualCount == expectedCount, "Them that bai");
        }
예제 #2
0
 public int ThemMonAn(string mam, string tenm, decimal gia)
 {
     return(ma.ThemMonAn(mam, tenm, gia));
 }