}
public void testGetBreakWeightSuper() throws Exception {
View row = view.createRow();
view.append(row);
row.append(new PartView(paragraph.getElement(0)));
assertEquals(PartView.CHAR_HEIGHT, (int) row.getPreferredSpan(View.Y_AXIS));
assertEquals(View.BadBreakWeight, view.getBreakWeight(View.Y_AXIS, 0,
PartView.CHAR_HEIGHT));
assertEquals(View.GoodBreakWeight, view.getBreakWeight(View.Y_AXIS, 0,
PartView.CHAR_HEIGHT + 0.01f));