orig.setCharHeight(23);
orig.setWrappedWidth(253);
orig.setWrapAlignment(true);
+ orig.setScaleProteinAsCdna(true);
+
ViewStyle copy = new ViewStyle(orig);
orig.setWrapAlignment(false);
Assert.assertEquals(copy.getCharHeight(), orig.getCharHeight());
Assert.assertEquals(copy.getWrappedWidth(), orig.getWrappedWidth());
Assert.assertEquals(copy.getWrapAlignment(), !orig.getWrapAlignment());
+ Assert.assertEquals(copy.isScaleProteinAsCdna(),
+ orig.isScaleProteinAsCdna());
}
}