CPFloat cp3 = new CPFloat(new Float(5), 5);
checkEquality(cp1, cp2, "3", cp3); //$NON-NLS-1$
}
public void testCPString() {
CPString cp1 = new CPString(new CPUTF8(new String("3"),
ClassConstantPool.DOMAIN_NORMALASCIIZ, 3), 3);
CPString cp2 = new CPString(new CPUTF8(new String("3"),
ClassConstantPool.DOMAIN_NORMALASCIIZ, 3), 3);
CPString cp3 = new CPString(new CPUTF8(new String("5"),
ClassConstantPool.DOMAIN_NORMALASCIIZ, 5), 5);
checkEquality(cp1, cp2, "3", cp3); //$NON-NLS-1$
}