@Unstable(reason="needs more tests") public class GeometryMatchers extends Object
Dimension2D
Constructor and Description |
---|
GeometryMatchers() |
Modifier and Type | Method and Description |
---|---|
static org.hamcrest.Matcher<Object> |
hasDimension(double width,
double height)
Creates a
TypeSafeMatcher that matches when a given Dimension2D 's width and height
equal the given width and height. |
public static org.hamcrest.Matcher<Object> hasDimension(double width, double height)
TypeSafeMatcher
that matches when a given Dimension2D
's width and height
equal the given width and height.