mockLeaf.setEfficiency(PercentHelper.getDecimalValue(60));
leaf3D.update(mockLeaf, LeafUpdateMask.AGE_MASK);
// check that the color has NOT changed as expected, because the update code is not the appropriate one
expectedColor = new Color3f(ColorConstants.brownYellow);
expectedColor.interpolate(ColorConstants.green, 0.75f); // 75%, not 60%
ColorTestHelper.testColorFromMaterial(leafShape3D.getAppearance(), expectedColor, new Color3f(0.05f, 0.05f,
0.05f), new Color3f(0.15f, 0.15f, 0.15f));
}
public void testGeometry() {