### Question:
GTPoint { @Override public int hashCode() { return Objects.hash(point); } GTPoint(FP12 point); @Override int hashCode(); @Override boolean equals(Object o);  }### Answer:
@Test void equalsAndHashcode() { FP12 fp12 = FP12.fromBytes(Bytes.random(576).toArrayUnsafe()); GTPoint point = new GTPoint(fp12); assertEquals(point, point); assertEquals(point.hashCode(), point.hashCode()); assertEquals(new GTPoint(fp12), point); assertEquals(new GTPoint(fp12).hashCode(), point.hashCode()); }