public void Test_Validation_True() { SimilarCharactersRule rule = new SimilarCharactersRule(); Assert.True(rule.Validate("aa")); Assert.True(rule.Validate("aiodbb")); Assert.True(rule.Validate("cvbnyyjj")); }
public void Test_Validation_False() { SimilarCharactersRule rule = new SimilarCharactersRule(); Assert.False(rule.Validate("ab")); Assert.False(rule.Validate("aikjhsfudsyfu")); Assert.False(rule.Validate("beib")); }