Code example for ECFieldFp

0
        try { 
            new ECFieldFp(BigInteger.valueOf(-1L)); 
            fail(getName() +
                    " FAILED: expected exception has not been thrown"); 
        } catch (IllegalArgumentException e) {
        } 
    } 
 
    /** 
     * Test #4 for <code>ECFieldFp</code> constructor 
     *  
     * Assertion: IllegalArgumentException if <code>p</code> is not positive 
     */ 
    @TestTargetNew( 
        level = TestLevel.PARTIAL_COMPLETE, 
        notes = "", 
        method = "ECFieldFp", 
        args = {java.math.BigInteger.class}
    ) 
    public final void testECFieldFp04() { 
        try {