void function ( ) { Month loc0 = new Month ( 2 , 2003 ) ; Month loc1 = new Month ( 2 , 2003 ) ; assertTrue ( loc0 . equals ( loc1 ) ) ; int loc2 = loc0 . hashCode ( ) ; int loc3 = loc1 . hashCode ( ) ; assertEquals ( loc2 , loc3 ) ; }
two objects that are equal are required to return the same hashcode . concode_field_sep Month jan1900 concode_elem_sep Month dec9999 concode_elem_sep Month nov9999 concode_elem_sep Month feb1900 concode_field_sep void testDateConstructor1 concode_elem_sep void testParseMonth concode_elem_sep void testGetStart concode_elem_sep void testGetLastMillisecond concode_elem_sep void testGetSerialIndex concode_elem_sep void testJan1900Previous concode_elem_sep void testGetFirstMillisecondWithTimeZone concode_elem_sep void testNext concode_elem_sep void testDec9999Next concode_elem_sep void testGetLastMillisecondWithTimeZone concode_elem_sep void testGetFirstMillisecond concode_elem_sep void testSerialization concode_elem_sep void testDateConstructor2 concode_elem_sep void testJan1900Next concode_elem_sep void testEqualsSelf concode_elem_sep void testGetLastMillisecondWithCalendar concode_elem_sep void testGetFirstMillisecondWithCalendar concode_elem_sep void setUp concode_elem_sep void testGetEnd concode_elem_sep void testDec9999Previous concode_elem_sep void testNotCloneable concode_elem_sep void testEquals