Code example for ECPoint

Methods: getAffineY

     * which is equal to the one passed to the constructor; 
     * (both must refer the same object) 
    public final void testGetAffineY01() { 
        BigInteger y =  BigInteger.valueOf(23456L);
        ECPoint p = new ECPoint(BigInteger.valueOf(-23456L), y);
        BigInteger yRet = p.getAffineY();
        assertEquals(y, yRet);
        assertSame(y, yRet);
     * Test #2 for <code>getAffineX()</code> method<br> 
     * Assertion: returns <code>null</code> for <code>ECPoint.POINT_INFINITY</code><br> 
     * Test preconditions: none<br> 
     * Expected: must return <code>null</code> for 
     * <code>ECPoint.POINT_INFINITY</code> 
    public final void testGetAffineY02() { 
Contextual code suggestions in your IDE  Get Codota for Java