equals should not compare objects using tostring . concode_field_sep PlaceHolder placeHolder concode_field_sep void testEqualsNoncoin concode_elem_sep void testNotEqualsNull concode_elem_sep void testEqualsByValue concode_elem_sep void setUp concode_elem_sep void main concode_elem_sep void testCoinValue
void function ( ) { Coin loc0 = new Coin ( 10 , "srini_string" ) ; assertFalse ( loc0 . equals ( new Coin ( 1 , "srini_string" ) ) ) ; assertFalse ( loc0 . equals ( new Coin ( 1 , "srini_string" ) ) ) ; assertFalse ( loc0 . equals ( new Coin ( 1 , "srini_string" ) ) ) ; }