public void Should_count_cjk_words() { Assert.Equal(3, CharactersExtensions.CharacterCount("空手道")); }
public void Should_count_katakana_words() { Assert.Equal(9, CharactersExtensions.CharacterCount("カラテ カラテ カラテ")); }
public void Should_count_english_characters_with_extra_whitespaces() { Assert.Equal(13, CharactersExtensions.CharacterCount("You can't do that. ")); }
public void Should_count_cjk_and_english_words() { Assert.Equal(23, CharactersExtensions.CharacterCount("Makes probably no sense: 空手道")); }
public void Should_count_english_characters_with_punctuation() { Assert.Equal(19, CharactersExtensions.CharacterCount("You can't do that, Mister.")); }
public void Should_count_with_digits() { Assert.Equal(8, CharactersExtensions.CharacterCount("Hello 123")); }
public void Should_count_english_characters() { Assert.Equal(13, CharactersExtensions.CharacterCount("You can't do that")); }
public void Should_count_zero_characters_for_whitspace_text() { Assert.Equal(0, CharactersExtensions.CharacterCount(" ")); }
public void Should_count_zero_characters_for_empty_text() { Assert.Equal(0, CharactersExtensions.CharacterCount(string.Empty)); }