JAL-1690 'scale protein as cDNA' options in Preferences, FontChooser
[jalview.git] / test / jalview / viewmodel / styles / TestviewStyle.java
index 88ea82e..47735b5 100644 (file)
@@ -13,11 +13,15 @@ public class TestviewStyle
     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());
   }
 
 }