assertEquals(BAD, view.getBreakWeight(Y_AXIS, width, width - 0.01f));
assertEquals(GOOD, view.getBreakWeight(Y_AXIS, 0.0f, width + 0.01f));
}
public void testClone() {
view.setGlyphPainter(new EmptyPainter());
GlyphView clone = (GlyphView) view.clone();
assertEquals(view.getStartOffset(), clone.getStartOffset());
assertEquals(view.getEndOffset(), clone.getEndOffset());
assertSame(view.getElement(), clone.getElement());
assertSame(view.getGlyphPainter(), clone.getGlyphPainter());