Add 36 unit tests covering bounds-based hit-testing (getBounds().contains(Point)) for all five shape types: SRectangle, SCircle, STriangle, SText, SCollection.
Tests cover: point inside, outside, on boundary (inclusive top-left, exclusive bottom-right per java.awt.Rectangle semantics), and point after translate.
SCollection tests verify union bounds, gap between children, and single-child bounds equality.
## Summary
- Add 36 unit tests covering bounds-based hit-testing (`getBounds().contains(Point)`) for all five shape types: SRectangle, SCircle, STriangle, SText, SCollection.
- Tests cover: point inside, outside, on boundary (inclusive top-left, exclusive bottom-right per `java.awt.Rectangle` semantics), and point after translate.
- SCollection tests verify union bounds, gap between children, and single-child bounds equality.
Closes #11
Add 36 tests covering bounds-based hit-testing (getBounds().contains(Point))
for SRectangle, SCircle, STriangle, SText, and SCollection:
- Point inside, outside, on boundary (inclusive top-left, exclusive bottom-right)
- Point after translate to verify position update
- SCollection union bounds, gap between children, single-child bounds
Closes#11
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
getBounds().contains(Point)) for all five shape types: SRectangle, SCircle, STriangle, SText, SCollection.java.awt.Rectanglesemantics), and point after translate.Closes #11
b87deecf40to740572bfb7