void function ( ) { assertTrue ( state1 . equals ( state2 ) ) ; assertTrue ( state1 . equals ( state1copy ) ) ; assertFalse ( state1 == state1copy ) ; }
this method tests the equals method for waterjugstate objects . concode_field_sep String state1String concode_elem_sep WaterJugState state1 concode_elem_sep WaterJugState state2 concode_elem_sep String state2String concode_elem_sep WaterJugState state1copy concode_field_sep void testAccessors concode_elem_sep void testToString