Bug 291934 Sash tests failing over part renderer call
tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/workbench/MSashTest.java
Composite c2 = (Composite) sfw.getChildren()[1];
		checkRatio("Control Bounds", c1.getSize().y, c2.getSize().y, baseRatio);
	}
	private void checkRatio(String label, int num, int div, double baseRatio) {
		double ratio = (double) num / (double) div;
		double TOLERANCE = 0.1;
		boolean withinTolerance = Math.abs(ratio - baseRatio) < TOLERANCE;
		assertTrue("Ratio mismatch on" + label + "weights", withinTolerance);
	}
	private MWindow<MPart<?>> createSashWithNViews(int n) {
		final MWindow<MPart<?>> window = ApplicationFactory.eINSTANCE
				.createMWindow();
		window.setHeight(300);
		window.setWidth(401);
		window.setName("MyWindow");
		MSashForm<MPart<?>> sash = ApplicationFactory.eINSTANCE
				.createMSashForm();
		window.getChildren().add(sash);
		for (int i = 0; i < n; i++) {
			MContributedPart<MPart<?>> contributedPart = ApplicationFactory.eINSTANCE
					.createMContributedPart();
			contributedPart.setName("Sample View" + i);
			contributedPart
					.setURI("platform:/plugin/org.eclipse.e4.ui.tests/org.eclipse.e4.ui.tests.workbench.SampleView");
			sash.getChildren().add(contributedPart);
		}
		return window;
	}
}