Skip to content

add Unicode coverage for word counting - #75

Merged
codepiyusss merged 1 commit into
codepiyusss:mainfrom
vaibhavsarmai05-oss:add-unicode-wordcount-tests
Oct 29, 2026
Merged

codepiyusss merged 1 commit into
codepiyusss:mainfrom
vaibhavsarmai05-oss:add-unicode-wordcount-tests

Conversation

@vaibhavsarmai05-oss

Copy link
Copy Markdown
Contributor

Summary

Add tests for character counting with accented text (café).

Add a test for a multi-code-point emoji (❤️).

Add tests for word counting with accented characters and Hindi text.

Testing

Ran pytest — all 43 tests passed.

Ran git diff --check.

These changes improve Unicode test coverage for count_chars and count_words without changing the existing implementation.

Closes #30

@codepiyusss
codepiyusss merged commit 4398db8 into codepiyusss:main Oct 29, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tests: add unicode tests for count_chars and count_words

2 participants