Merge branch 'develop' into update_212_Dec_merge_with_21125_chamges
[jalview.git] / test / jalview / datamodel / MappedFeaturesTest.java
index de4ce6c..f549ff4 100644 (file)
@@ -1,3 +1,23 @@
+/*
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
+ * 
+ * This file is part of Jalview.
+ * 
+ * Jalview is free software: you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License 
+ * as published by the Free Software Foundation, either version 3
+ * of the License, or (at your option) any later version.
+ *  
+ * Jalview is distributed in the hope that it will be useful, but 
+ * WITHOUT ANY WARRANTY; without even the implied warranty 
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
+ * PURPOSE.  See the GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
+ * The Jalview Authors are detailed in the 'AUTHORS' file.
+ */
 package jalview.datamodel;
 
 import static org.testng.Assert.assertEquals;
@@ -34,8 +54,8 @@ public class MappedFeaturesTest
      * T>C at dna13, consequence CGT>CGC synonymous
      */
     List<SequenceFeature> features = new ArrayList<>();
-    SequenceFeature sf1 = new SequenceFeature("sequence_variant", "C,T",
-            11, 11, null);
+    SequenceFeature sf1 = new SequenceFeature("sequence_variant", "C,T", 11,
+            11, null);
     sf1.setValue("alleles", "C,T");
     features.add(sf1);
     SequenceFeature sf2 = new SequenceFeature("sequence_variant", "T,C", 13,
@@ -46,8 +66,7 @@ public class MappedFeaturesTest
     /*
      * missense variant in first codon
      */
-    MappedFeatures mf = new MappedFeatures(mapping, from, 1, 'R',
-            features);
+    MappedFeatures mf = new MappedFeatures(mapping, from, 1, 'R', features);
     String variant = mf.findProteinVariants(sf1);
     assertEquals(variant, "p.Arg1Cys");