Merge branch 'features/JAL-4071_visibleFeaturesCounter' into features/JAL-3417_sdppre...
[jalview.git] / test / jalview / structure / AtomSpecTest.java
index 9881baf..39d10ae 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.structure;
 
 import static org.testng.Assert.assertEquals;
@@ -80,21 +100,21 @@ public class AtomSpecTest
     assertEquals(as.getPdbResNum(), 12);
     assertEquals(as.getChain(), "B");
     assertNull(as.getPdbFile());
-  
+
     // no model - default to zero
     as = AtomSpec.fromChimeraXAtomspec("/C:13");
     assertEquals(as.getModelNumber(), 0);
     assertEquals(as.getPdbResNum(), 13);
     assertEquals(as.getChain(), "C");
     assertNull(as.getPdbFile());
-  
+
     // model.submodel
     as = AtomSpec.fromChimeraXAtomspec("#3.2/:15");
     assertEquals(as.getModelNumber(), 3);
     assertEquals(as.getPdbResNum(), 15);
     assertEquals(as.getChain(), "");
     assertNull(as.getPdbFile());
-  
+
     String spec = "3:12.B";
     try
     {
@@ -104,7 +124,7 @@ public class AtomSpecTest
     {
       // ok
     }
-  
+
     spec = "#3:12-14.B";
     try
     {
@@ -114,7 +134,7 @@ public class AtomSpecTest
     {
       // ok
     }
-  
+
     spec = "";
     try
     {
@@ -124,7 +144,7 @@ public class AtomSpecTest
     {
       // ok
     }
-  
+
     spec = null;
     try
     {