public void testKeySetHashCode() {
int[] keys = {1138, 42, 86, 99, 101, 727, 117};
Integer[] integer_keys = new Integer[keys.length];
long[] vals = new long[keys.length];
TIntLongMap raw_map = new TIntLongHashMap();
for ( int i = 0; i < keys.length; i++ ) {
integer_keys[i] = Integer.valueOf( keys[i] );
vals[i] = keys[i] * 2;
raw_map.put( keys[i], vals[i] );
}
Map<Integer,Long> map = TDecorators.wrap( raw_map );
Set<Integer> set = map.keySet();
assertEquals( map.size(), set.size() );