public void Can_Create_Registered_User_Bill_12345Test() { //Arrange var user = new RegisteredUser("Bill", "12345Test"); //Act UsersReg.AddUser(user); //Assert Assert.Contains(user, UsersReg.Users); }
public void Can_Create_Admin_Test_12345Test() { //Arrange var admin = new Admin("Test", "12345Test"); //Act UsersReg.AddUser(admin); //Assert Assert.Contains(admin, UsersReg.Users); }
public void Can_LogIn_Test_12345678TEST() { //Arrange Guest g = new Guest(); UsersReg.AddUser(new RegisteredUser("Test", "12345678TEST")); //Act var newUser = g.LogIn("Test", "12345678TEST"); //Assert Assert.Contains(newUser, UsersReg.Users); }