public static void assertEquals(@Nullable PointF expected, PointF actual, float delta) {
    if (expected == null) {
      Assert.assertNull(actual);
      return;
    }
    Assert.assertEquals(expected.x, actual.x, delta);
    Assert.assertEquals(expected.y, actual.y, delta);
  }
Test utils for android.graphics classes.
drawee/src/test/java/com/facebook/drawee/drawable/AndroidGraphicsTestUtils.java