Commit Graph

4 Commits

Author SHA1 Message Date
2ff811e8bb Add parameterized ShapeContractTest for Shape interface invariants
Verify clone(), getBounds(), and translate() contracts across all Shape
implementations (SRectangle, SCircle, STriangle, SText, SCollection)
using @ParameterizedTest + @MethodSource.

Also adds junit-jupiter-params dependency to pom.xml.

Closes #8
2026-03-27 16:13:59 +01:00
211f15658b test: add core unit tests
- Add JUnit 5 Jupiter dependencies to pom.xml
- Add maven-surefire-plugin for test execution
- Add AbstractShapeTest for base class methods
- Add SCircleTest, SRectangleTest, STriangleTest, STextTest

Tests cover: creation, bounds, clone, resize (AbstractShape)
2026-03-27 14:24:25 +01:00
1b0284cb4d Add change color action 2025-02-19 11:39:50 +01:00
95cb82d419 Init repository 2019-03-19 20:40:20 +01:00