Пример #1
0
        public void Test_Nhap_MK_pass()
        {
            string actual   = Checkkiemtradangnhap.ktdangnhap("admin", "");
            string expected = "3";

            Assert.AreEqual(expected, actual);
        }
Пример #2
0
        public void Test_Nhap_Thieu_ID_and_Pass()
        {
            string actual   = Checkkiemtradangnhap.ktdangnhap("", "");
            string expected = "1";

            Assert.AreEqual(expected, actual);
        }
Пример #3
0
        public void Test_Nhap_Thieu_ID()
        {
            string actual   = Checkkiemtradangnhap.ktdangnhap("", "admin");
            string expected = "2";

            Assert.AreEqual(expected, actual);
        }
Пример #4
0
        public void Test_Nhap_Dung_Tai_Khoan()
        {
            string actual   = Checkkiemtradangnhap.ktdangnhap("admin", "admin");
            string expected = "0";

            Assert.AreEqual(expected, actual);
        }