public async Task Autenticate_WithSamePassword() { string encryptedPassword = "******"; string password = "******"; Autenticator autenticator = new Autenticator(); bool result = await autenticator.Autenticate(password, encryptedPassword); bool expected = true; Assert.That(result, Is.EqualTo(expected)); }
public async Task Autenticate_WithDifferentPasswords() { string encryptedPassword = "******"; string password = "******"; Autenticator autenticator = new Autenticator(); bool result = await autenticator.Autenticate(password, encryptedPassword); bool expected = false; Assert.That(result, Is.EqualTo(expected)); }