Exemplo n.º 1
0
 public void Hash_PasswordMatches_Returns_False_If_Password_Does_Not_Match()
 {
     _Hash = new Hash("This Is My Password");
     Assert.AreEqual(false, _Hash.PasswordMatches("This is My Password"));
 }
Exemplo n.º 2
0
 public void Hash_PasswordMatches_Accepts_Empty_String_Passwords()
 {
     _Hash = new Hash("");
     Assert.AreEqual(true, _Hash.PasswordMatches(""));
 }
Exemplo n.º 3
0
 public void Hash_PasswordMatches_Returns_True_If_Password_Matches()
 {
     _Hash = new Hash("This Is My Password");
     Assert.AreEqual(true, _Hash.PasswordMatches("This Is My Password"));
 }