### Question:
JacobianPoint { boolean isInfinity() { return x.iszilch() && !y.iszilch() && z.iszilch(); } JacobianPoint();   JacobianPoint(JacobianPoint p);   JacobianPoint(FP2Immutable x, FP2Immutable y, FP2Immutable z);   JacobianPoint(ECP2 p); @Override String toString(); @Override // Consider two Jacobian points to be equal iff their affine representations are equal. boolean equals(Object obj); @Override int hashCode();  }### Answer:
@Test void infinityTest() { assertTrue(INFINITY.isInfinity()); }