Code example for ECPoint

Methods: getAffineX

     * Test preconditions: none<br> 
     * Expected: must return <code>null</code> for 
     * <code>ECPoint.POINT_INFINITY</code> 
    public final void testGetAffineX02() { 
     * Test #1 for <code>getAffineY()</code> method<br> 
     * Assertion: returns affine <code>y</code> coordinate<br> 
     * Test preconditions: <code>ECPoint</code> instance 
     * created using valid parameters<br> 
     * Expected: must return affine <code>y</code> coordinate 
     * 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);
Stop searching for code, let great code find you!  Add Codota to your java IDE