Code example for ECFieldF2m

Methods: equals

0
     * Test #1 for <code>equals()</code> method.<br> 
     * 
     * Assertion: object equals to itself.  
     */ 
    public final void testEqualsObject01() { 
        ECFieldF2m obj = new ECFieldF2m(1999, new int[] {367});
        assertTrue(obj.equals(obj));
    } 
 
    /** 
     * Test #2 for <code>equals()</code> method.<br> 
     * 
     * Assertion: normal basis - objects equal if their m are equal.  
     */ 
    public final void testEqualsObject02() { 
        assertTrue(new ECFieldF2m(43).equals(new ECFieldF2m(43)));
    } 
 
    /** 
     * Test #3 for <code>equals()</code> method.<br> 
Contextual code suggestions in your IDE  Get Codota for Java