Skip to content

test: 11 tests for spritegrid/cli.py parse_size#32

Open
hai-pilgrim wants to merge 2 commits intomarksverdhei:mainfrom
hai-pilgrim:test/cli-parse-size
Open

test: 11 tests for spritegrid/cli.py parse_size#32
hai-pilgrim wants to merge 2 commits intomarksverdhei:mainfrom
hai-pilgrim:test/cli-parse-size

Conversation

@hai-pilgrim
Copy link
Copy Markdown

Summary

  • Adds 11 pytest unit tests for parse_size in src/spritegrid/cli.py
  • Covers: single integer → square tuple, WxH format, uppercase X, non-numeric raises, too many parts raises, float string raises, asymmetric dimensions, zero

Test plan

  • pytest tests/test_cli_parse_size.py passes with all 11 tests green
  • No external dependencies required

🤖 Contributed by hai-pilgrim

marksverdhei and others added 2 commits March 29, 2026 02:57
…tect_grid)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

2 participants