@Test void G2MapToInfinityTest() { JacobianPoint g2Generator = new JacobianPoint(ECP2.generator()); assertTrue(mapG2ToInfinity(g2Generator).isInfinity()); }
@VisibleForTesting static JacobianPoint mapG2ToInfinity(JacobianPoint p) { JacobianPoint psi3 = psi2(psi(p)); return mxChain(psi3).add(psi2(p)).neg().add(p); }
Helper { @VisibleForTesting static JacobianPoint mapG2ToInfinity(JacobianPoint p) { JacobianPoint psi3 = psi2(psi(p)); return mxChain(psi3).add(psi2(p)).neg().add(p); } }
Helper { @VisibleForTesting static JacobianPoint mapG2ToInfinity(JacobianPoint p) { JacobianPoint psi3 = psi2(psi(p)); return mxChain(psi3).add(psi2(p)).neg().add(p); }  }
Helper { @VisibleForTesting static JacobianPoint mapG2ToInfinity(JacobianPoint p) { JacobianPoint psi3 = psi2(psi(p)); return mxChain(psi3).add(psi2(p)).neg().add(p); }   }
Helper { @VisibleForTesting static JacobianPoint mapG2ToInfinity(JacobianPoint p) { JacobianPoint psi3 = psi2(psi(p)); return mxChain(psi3).add(psi2(p)).neg().add(p); }    }