Package org.testfx.matcher.base
Class GeometryMatchers
java.lang.Object
org.testfx.matcher.base.GeometryMatchers
TestFX matchers for
Dimension2D
instances.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.hamcrest.Matcher
<Object> hasDimension
(double width, double height) Creates aTypeSafeMatcher
that matches when a givenDimension2D
's width and height equal the given width and height.private static boolean
hasDimension
(javafx.geometry.Dimension2D dimension, double width, double height)
-
Constructor Details
-
GeometryMatchers
private GeometryMatchers()
-
-
Method Details
-
hasDimension
Creates aTypeSafeMatcher
that matches when a givenDimension2D
's width and height equal the given width and height. -
hasDimension
private static boolean hasDimension(javafx.geometry.Dimension2D dimension, double width, double height)
-