Set<Integer> newlyAssignedOrdinals = new HashSet<Integer>();
for(int i=1;i<1000;i+=2) {
VarInt.writeVInt(buf, 50230532 + i);
int newOrdinal = map.getOrAssignOrdinal(buf);
newlyAssignedOrdinals.add(newOrdinal);
buf.reset();
}
/// those ordinals should be the recycled ones after the compact.
for(int i=1;i<1000;i+=2) {
Assert.assertTrue(newlyAssignedOrdinals.contains(i));