[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"); }
public int SuaMonAn(string mam, string tenm, decimal gia) { return(ma.SuaMonAn(mam, tenm, gia)); }