public void BlankPasswordTestCase() { var test = new PasswordStrengthService(); string actualValue = test.GetPasswordStrength(""); Assert.Equal("Blank", actualValue); }
public void VeryStrongPasswordTestCase() { var test = new PasswordStrengthService(); string actualValue = test.GetPasswordStrength("AShok@410"); Assert.Equal("VeryStrong", actualValue); }
public void MediumPasswordTestCase() { var test = new PasswordStrengthService(); string actualValue = test.GetPasswordStrength("AshokTest"); Assert.Equal("Medium", actualValue); }
public void StrongPasswordTestCase() { var test = new PasswordStrengthService(); string actualValue = test.GetPasswordStrength("Ashokte1"); Assert.Equal("Strong", actualValue); }
public void WeakPasswordTestCase() { var test = new PasswordStrengthService(); string actualValue = test.GetPasswordStrength("abcdefga"); Assert.Equal("Weak", actualValue); }