예제 #1
0
        [TestCase(" ", " ")]    //failed
        public void SwitchTable(int mab, int tinhtrang)
        {
            //Arr
            var BanAnUseCase  = new BanAnUseCase();
            var expectedCount = 1;

            //Act
            int chuyenBanAn = BanAnUseCase.SwitchTable(mab, tinhtrang);
            var actualCount = chuyenBanAn;

            //Assert
            Assert.IsTrue(actualCount == expectedCount, "Chuyen that bai");
        }
예제 #2
0
 public int SwitchTable(int mab, int tinhtrang)
 {
     return(table.SwitchTable(mab, tinhtrang));
 }