JAL-4371 minimal test and move PDBEntryUtils to correct package
[jalview.git] / test / jalview / schemes / ClustalxColourSchemeTest.java
index d35ca76..d476d6e 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.schemes;
 
 import static org.testng.Assert.assertEquals;
@@ -87,7 +107,7 @@ public class ClustalxColourSchemeTest
   }
 
   // @formatter:on
-  
+
   /**
    * Test for colour calculation when the consensus percentage ignores gapped
    * sequences
@@ -107,7 +127,7 @@ public class ClustalxColourSchemeTest
             DataSourceType.PASTE);
     AlignmentI al = af.getViewport().getAlignment();
     ClustalxColourScheme cs = new ClustalxColourScheme(al, null);
-  
+
     /*
      * column 1 is 66% C which is above Clustalx threshold of 60%
      */
@@ -131,4 +151,12 @@ public class ClustalxColourSchemeTest
     // viewport
     // assertEquals(cs.findColour('C', 0, al.getSequenceAt(0)), clustalPink);
   }
+  @Test
+  public void testDocString()
+  {
+    /* verify we have some sort of useful output */
+    ClustalxColourScheme x = new ClustalxColourScheme();
+    String out = x.toRuleRep();
+    System.out.print(out);
+  }
 }