[TestCase(" ", " ", " ")] //failed public void SuaBanAn(int mab, int sokhach_toida, int tinhtrang) { //Arr var BanAnUseCase = new BanAnUseCase(); var expectedCount = 1; //Act int suaBanAn = BanAnUseCase.SuaBanAn(mab, sokhach_toida, tinhtrang); var actualCount = suaBanAn; //Assert Assert.IsTrue(actualCount == expectedCount, "Sua that bai"); }
public int SuaBanAn(int mab, int sokhach_toida, int tinhtrang) { return(table.SuaBanAn(mab, sokhach_toida, tinhtrang)); }