示例#1
0
        [TestCase("mon7", " ", "100000")]                    //failed

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

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

            //Assert
            Assert.IsTrue(actualCount == expectedCount, "Sua that bai");
        }
示例#2
0
 public int SuaMonAn(string mam, string tenm, decimal gia)
 {
     return(ma.SuaMonAn(mam, tenm, gia));
 }