package MCview;
-import static org.testng.AssertJUnit.assertSame;
import static org.testng.AssertJUnit.assertEquals;
import static org.testng.AssertJUnit.assertFalse;
+import static org.testng.AssertJUnit.assertSame;
import static org.testng.AssertJUnit.assertTrue;
-import org.testng.annotations.Test;
-import java.awt.Color;
-import java.util.Vector;
import jalview.analysis.AlignSeq;
import jalview.datamodel.AlignmentAnnotation;
import jalview.schemes.ColourSchemeI;
import jalview.schemes.TaylorColourScheme;
+import java.awt.Color;
+import java.util.Vector;
+
+import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.Test;
+
public class PDBChainTest
{
- PDBChain c = new PDBChain("1GAQ", "A");
- Atom a1 = new Atom(1f, 2f, 3f);
+ PDBChain c;
+
+ final Atom a1 = new Atom(1f, 2f, 3f);
- Atom a2 = new Atom(5f, 6f, 4f);
+ final Atom a2 = new Atom(5f, 6f, 4f);
- Atom a3 = new Atom(2f, 5f, 6f);
+ final Atom a3 = new Atom(2f, 5f, 6f);
- Atom a4 = new Atom(2f, 1f, 7f);
+ final Atom a4 = new Atom(2f, 1f, 7f);
+
+ @BeforeMethod
+ public void setUp()
+ {
+ System.out.println("setup");
+ c = new PDBChain("1GAQ", "A");
+ }
@Test
public void testGetNewlineString()