public void SubmitToDBTest(string pass, string email) { Login login = new Login(); Register.AddUser(pass, pass, email); Register.SubmitUser(); Assert.True(login.validUser(email, pass)); }
public void RetreiveUserTest(string pass, string email) { Login login = new Login(); Register.AddUser(pass, pass, email); Assert.Equal(email, login.retreiveUser(email).Email); }
public void VerifyUserTest(bool valid, string email, string password) { Login login = new Login(); Assert.Equal(valid, login.validUser(email, password)); }