int expectedChildrenOfLastParent) {
STRtreeDemo.TestTree t = new STRtreeDemo.TestTree(nodeCapacity);
List parentBoundables
= t.createParentBoundablesFromVerticalSlice(itemWrappers(childCount), 0);
for (int i = 0; i < parentBoundables.size() - 1; i++) {//-1
AbstractNode parentBoundable = (AbstractNode) parentBoundables.get(i);
assertEquals(expectedChildrenPerParentBoundable, parentBoundable.getChildBoundables().size());
}
AbstractNode lastParent = (AbstractNode) parentBoundables.get(parentBoundables.size() - 1);
assertEquals(expectedChildrenOfLastParent, lastParent.getChildBoundables().size());
}