AlignmentI al = av.getAlignment();
assertEquals(al.getWidth(), 157);
assertEquals(al.getHeight(), 15);
- String ss = "";
av.getRanges().setStartEndSeq(0, 3);
-
+ int h = av.getRanges().getVisibleAlignmentHeight();
String s = "";
s += " SC1 " + av.getRanges().getVisibleAlignmentHeight() + " "
+ av.getRanges();
av.setShowAnnotation(false);
- s += " SC2 " + av.getRanges();
av.setScaleAboveWrapped(true);
- s += " SC3 " + av.getRanges();
SeqCanvas testee = af.alignPanel.getSeqPanel().seqCanvas;
av.setWrapAlignment(true);
- s += " SC4 " + av.getRanges();
av.setFont(new Font("SansSerif", Font.PLAIN, 14), true);
int charHeight = av.getCharHeight();
int charWidth = av.getCharWidth();
s += " SC5 " + av.getRanges();
int repeatingHeight = (int) PA.getValue(testee,
"wrappedRepeatHeightPx");
- assertEquals(av.getRanges().getEndSeq(), 0, "endSeq should be 3 " + s); // unchanged
+ assertEquals(av.getRanges().getEndSeq(), 3, "endSeq should be 3 " + s); // unchanged
assertEquals(repeatingHeight, charHeight * (2 + al.getHeight()));
}
}