// it ends at 7
// 0 ...... 1 ...... ...... ...... ...... 5 ...... ...... 7
// the new leaf should be created around 3 (+/- 10% * distance -> 0.4)
Point3d boundsStartPoint = new Point3d(2.6, 0, 0);
Point3d boundsEndPoint = new Point3d(3.4, 0, 0);
BasicTreeBranchPart part = new BasicTreeBranchPart(new MockUniverse(), partState);
Point3d pointForNewLeaf = part.computeAttachPointForNewLeaf();
PointTestHelper.assertPointIsWithinBounds(pointForNewLeaf, boundsStartPoint, boundsEndPoint);
}