Exemple #1
0
        public void passAcceptTest()
        {
            User newUser = new User();

            newUser.setPass("TestPass");
            Assert.AreEqual("TestPass", newUser.getPass());
        }
Exemple #2
0
 internal static bool login(string name, string password)
 {
     if (isRegistered(name))
     {
         User checker = Database.getUser(name);
         return(checker.getPass().Equals(password));
     }
     return(false);
 }
Exemple #3
0
 public void passAcceptTest()
 {
     User newUser = new User();
     newUser.setPass("TestPass");
     Assert.AreEqual("TestPass", newUser.getPass());
 }