Class GeometryMatchers

java.lang.Object
org.testfx.matcher.base.GeometryMatchers

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

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