Code example for ECFieldFp

0
     * 
     * Assertion: creates new object of <code>ECFieldFp</code> class 
     * using valid <code>p</code> (odd prime) 
     */ 
    public final void testECFieldFp01() { 
        new ECFieldFp(BigInteger.valueOf(23L));
    } 
 
    /** 
     * Test #2 for <code>ECFieldFp</code> constructor 
     *  
     * Assertion: creates new object of <code>ECFieldFp</code> class 
     * using valid <code>p</code> (odd but not prime) 
     */ 
    public final void testECFieldFp02() { 
        new ECFieldFp(BigInteger.valueOf(21L));
    } 
 
    /** 
     * Test #3 for <code>ECFieldFp</code> constructor 
     *