Exemplo n.º 1
0
        public void GirisYapTest3()
        {
            int beklenenDeger = 3;

            string       kullaniciAdi = "";
            string       sifre        = "";
            frmLoginForm a            = new frmLoginForm();
            int          sonuc        = a.GirisYap(kullaniciAdi, sifre, true, true, false);

            Assert.AreEqual(beklenenDeger, sonuc);
        }
Exemplo n.º 2
0
        public void GirisYapTest1()
        {
            int beklenenDeger = 1;

            string       kullaniciAdi = "Fççkdskönds";
            string       sifre        = "123";
            frmLoginForm a            = new frmLoginForm();
            int          sonuc        = a.GirisYap(kullaniciAdi, sifre, true, true, true);

            Assert.AreEqual(beklenenDeger, sonuc);
        }