Code example for ECFieldFp

Methods: equals

0
        int hc = f.hashCode();
        assertTrue(hc == f.hashCode() &&
                   hc == f.hashCode() &&
                   hc == f.hashCode() &&
                   hc == f.hashCode() &&
                   hc == f.hashCode() &&
                   hc == f.hashCode() &&
                   hc == f.hashCode() &&
                   hc == f.hashCode());
    } 
 
    /** 
     * Test #2 for <code>hashCode()</code> method.<br> 
     * 
     * Assertion: must return the same value if invoked 
     * on equal (according to the <code>equals(Object)</code> method) objects.  
     */ 
    @TestTargetNew( 
        level = TestLevel.PARTIAL_COMPLETE, 
        notes = "", 
        method = "hashCode",