Esempio n. 1
0
        [TestCase(" ")]            //failed
        public void XoaMonAn(string mam)
        {
            //Arr
            var monAnUseCase  = new MonAnUseCase();
            var expectedCount = 1;

            //Act
            int xoaMonAn    = monAnUseCase.XoaMonAn(mam);
            var actualCount = xoaMonAn;

            //Assert
            Assert.IsTrue(actualCount == expectedCount, "Xoa that bai");
        }
Esempio n. 2
0
 public int XoaMonAn(string mam)
 {
     return(ma.XoaMonAn(mam));
 }