JAL-2349 JAL-3855 ContactListI.getPosition() to recover original position passed...
[jalview.git] / test / jalview / datamodel / ContactMatrixTest.java
index f0861e9..5d8b8d1 100644 (file)
@@ -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;