Esempio n. 1
0
        public void TestKH()
        {
            string ten    = TestContext.DataRow[0].ToString();
            string SDT    = "0582301023";
            int    maxSDT = int.Parse(TestContext.DataRow[1].ToString());
            string soNg   = TestContext.DataRow[2].ToString();

            bool expected = bool.Parse(TestContext.DataRow[3].ToString());

            kh = new KhachHang(ten, SDT, soNg, DateTime.Now);
            bool actual = kh.CheckInput(maxSDT);

            Assert.AreEqual(expected, actual);
        }