test: add edge case tests (null, negative coords, zero dimensions) #23

Merged
thib8956 merged 1 commits from issue-13/edge-case-tests into master 2026-03-27 23:24:12 +00:00

1 Commits

Author SHA1 Message Date
6cc6fbbfe8 test: add edge case tests for shapes
All checks were successful
CI / build-and-test (pull_request) Successful in 17s
Add 19 tests covering edge cases across all shape types:
- Negative coordinates: SRectangle, SCircle, STriangle, translate
- Zero dimensions: zero width/height rectangle, zero radius circle
- Resize clamping: verify width/height minimum enforcement
- Null handling: null/blank text normalization, unknown attribute key, empty collection
- Large values: Integer.MAX_VALUE/2 coords, MAX/MIN_VALUE translate

Closes #13
2026-03-27 23:23:17 +00:00