void function ( ) { Crosshair loc0 = new Crosshair ( 1.0 , new GradientPaint ( 1.0f , 2.0f , Color . red , 3.0f , 4.0f , Color . BLUE ) , new BasicStroke ( 1.0f ) ) ; Crosshair loc1 = ( Crosshair ) loc0 . clone ( ) ; assertTrue ( loc0 != loc1 ) ; assertTrue ( loc0 . getClass ( ) == loc1 . getClass ( ) ) ; assertTrue ( loc0 . equals ( loc1 ) ) ; }
confirm that cloning works . concode_field_sep PlaceHolder placeHolder concode_field_sep void testPublicCloneable concode_elem_sep void testSerialization concode_elem_sep void testHashCode concode_elem_sep void testEquals