Skip to content

Test/generate statistic - #33

Closed
ai2652-png wants to merge 19 commits into
nyu-software-engineering:mainfrom
software-students-fall2026:test/generate-statistic
Closed

ai2652-png wants to merge 19 commits into
nyu-software-engineering:mainfrom
software-students-fall2026:test/generate-statistic

Conversation

@ai2652-png

Copy link
Copy Markdown

Added pytest unit tests for the generate_statistic() function.

Tests cover valid outputs, percentage boundaries, invalid argument types, empty inputs, whitespace handling, Unicode, and all five statistic templates.

All 90 tests passed using pytest.

@ai2652-png ai2652-png closed this Nov 11, 2026
@ai2652-png
ai2652-png deleted the test/generate-statistic branch November 11, 2026 01:37
@ai2652-png
ai2652-png restored the test/generate-statistic branch November 11, 2026 01:40
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.

4 participants