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
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
ShapeContractTestwith 3 parameterized contract tests (clone(),getBounds(),translate()) across all 5 Shape implementations (SRectangle, SCircle, STriangle, SText, SCollection) — 15 tests totalShapeFactorytest utility providing aStream<Shape>via@MethodSourcejunit-jupiter-paramsdependency topom.xmlCloses #8
35e5829e5cto7ddef4d8ab