Module org.testfx

Class GeometryMatchers


  • public class GeometryMatchers
    extends Object
    TestFX matchers for Dimension2D instances.
    • Method Detail

      • hasDimension

        public 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.