Class IntersectingCircleObjectsFixture
Object
IntersectingCircleObjectsFixture
A fixture for generating collections of intersecting and non-intersecting circular objects.
This class provides utility methods to create object collections with specific configurations of intersecting and non-intersecting circles for testing purposes.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectCollection
generateIntersectingObjects
(int numberIntersecting, int numberNotIntersecting, boolean sameSize) Generates a collection of circular objects, some intersecting and some not intersecting.
-
Method Details
-
generateIntersectingObjects
public static ObjectCollection generateIntersectingObjects(int numberIntersecting, int numberNotIntersecting, boolean sameSize) Generates a collection of circular objects, some intersecting and some not intersecting.- Parameters:
numberIntersecting
- the number of intersecting circles to producenumberNotIntersecting
- the number of non-intersecting circles to producesameSize
- if true, all circles have the same radius (INITIAL_RADIUS
); if false, the radius gradually increments- Returns:
- an ObjectCollection containing the generated circular objects
-