JAL-4366 fixed wrinkles in reconstructing peptide alignment using 3di alignment....
[jalview.git] / test / jalview / datamodel / ContactMatrixTest.java
index f0861e9..a8fdb8c 100644 (file)
@@ -1,11 +1,31 @@
+/*
+ * 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 jalview.gui.JvOptionPane;
-
 import org.testng.Assert;
 import org.testng.annotations.BeforeClass;
 import org.testng.annotations.Test;
 
+import jalview.gui.JvOptionPane;
+
 public class ContactMatrixTest
 {
   @BeforeClass(alwaysRun = true)
@@ -18,7 +38,8 @@ public class ContactMatrixTest
   /**
    * standard asserts for ContactMatrixI
    */
-  public static void testContactMatrixI(ContactMatrixI cm, boolean symmetric)
+  public static void testContactMatrixI(ContactMatrixI cm,
+          boolean symmetric)
   {
     // assume contact matrix is square for text
     ContactListI clist = cm.getContactList(1);
@@ -81,6 +102,12 @@ public class ContactMatrixTest
       double[] val = { 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7 };
 
       @Override
+      public int getPosition()
+      {
+        return 0;
+      }
+
+      @Override
       public int getContactHeight()
       {
         return val.length;
@@ -97,6 +124,7 @@ public class ContactMatrixTest
       }
 
     });
+    // TODO - write test !
   }
 
   /**
@@ -105,6 +133,7 @@ public class ContactMatrixTest
   @Test(groups = { "Functional" })
   public void testAsymmetricContactMatrix()
   {
+    // TODO - write test !
 
   }
 
@@ -114,6 +143,7 @@ public class ContactMatrixTest
   @Test(groups = { "Functional" })
   public void testSymmetricContactMatrix()
   {
+    // TODO - write test !
 
   }