public void GetAllCharactersInUnicodeCategory_CategoryShouldNotContainCharacter_CategoryDoesNotContainCharacter(UnicodeCategory category, char character) { Assert.False(CharacterUtils.GetAllCharactersInUnicodeCategory(category).Contains(character)); }
private string GetOpeningPunctuationAsSingleString() { return(string.Join("", CharacterUtils.GetAllCharactersInUnicodeCategory(UnicodeCategory.OpenPunctuation)) + GetOtherPunctuationTreatedAsOpeningPunctuationAsSingleString()); }
public void GetAllCharactersInUnicodeCategory_CategoryShouldContainCharacter_CategoryContainsCharacter(UnicodeCategory category, char character) { Assert.True(CharacterUtils.GetAllCharactersInUnicodeCategory(category).Contains(character)); }