doInitialCapacity(DynamicConstants.SUB_ARRAY_SIZE - _rand.nextInt(10000));
}
protected void doInitialCapacityLevel(int initLevel) throws Exception {
int initialCapacity = DynamicConstants.SUB_ARRAY_SIZE << initLevel;
DynamicDataSet store = create(initialCapacity);
int capacity = store.capacity();
assertEquals(initialCapacity, capacity);
store.close();
int initialCapacity2 = capacity + _rand.nextInt(capacity);
DynamicDataSet store2 = create(initialCapacity2);
assertEquals(capacity, store2.capacity());
store2.close();
int initialCapacity3 = capacity - _rand.nextInt(capacity);
DynamicDataSet store3 = create(initialCapacity3);
assertEquals(capacity, store3.capacity());
store3.close();
}