JAL-4047 JAL-4948 show count of each dbref authority and 'first' reference
[jalview.git] / test / jalview / datamodel / ContactMatrixTest.java
index f0861e9..f6a7f42 100644 (file)
@@ -1,11 +1,11 @@
 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 +18,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 +82,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 +104,7 @@ public class ContactMatrixTest
       }
 
     });
+    // TODO - write test !
   }
 
   /**
@@ -105,6 +113,7 @@ public class ContactMatrixTest
   @Test(groups = { "Functional" })
   public void testAsymmetricContactMatrix()
   {
+    // TODO - write test !
 
   }
 
@@ -114,6 +123,7 @@ public class ContactMatrixTest
   @Test(groups = { "Functional" })
   public void testSymmetricContactMatrix()
   {
+    // TODO - write test !
 
   }