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)
/**
* 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);
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;
}
});
+ // TODO - write test !
}
/**
@Test(groups = { "Functional" })
public void testAsymmetricContactMatrix()
{
+ // TODO - write test !
}
@Test(groups = { "Functional" })
public void testSymmetricContactMatrix()
{
+ // TODO - write test !
}