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