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