question: public void testHashCode ( ) { int version = 1 ; int rounds = 5 ; int wordSize = 16 ; byte [ ] iv = { 1 , 2 , 3 , 4 , 5 , 6 } ; RC5ParameterSpec ps1 = new RC5ParameterSpec ( version , rounds , wordSize , iv ) ; RC5ParameterSpec ps2 = new RC5ParameterSpec ( version , rounds , wordSize , iv ) ; assertTrue ( "Equal objects should have the same hash codes." , ps1 . hashCode ( ) == ps2 . hashCode ( ) ) ; }
target:  hashCode() method testing. Tests that for equal objects hash codes are equal.