public static Comparator<StructLike> forType(Types.StructType struct) {
    return new StructLikeComparator(struct);
  }
@Test
  public void testDouble() {
    assertComparesCorrectly(Comparators.forType(Types.DoubleType.get()), 0.1d, 0.2d);
  }