Class | Line # | Actions | |||
---|---|---|---|---|---|
PDBEntryUtilsTest | 12 | 6 | 1 |
1 | package jalview.structure; | |
2 | ||
3 | import static org.testng.Assert.assertEquals; | |
4 | ||
5 | import java.util.List; | |
6 | ||
7 | import org.testng.annotations.Test; | |
8 | ||
9 | import jalview.datamodel.PDBEntry; | |
10 | import jalview.datamodel.Sequence; | |
11 | ||
12 | public class PDBEntryUtilsTest | |
13 | { | |
14 | ||
15 | 1 | @Test(groups= {"Functional"}) |
16 | public void testinferPDBEntry() { | |
17 | 1 | List<PDBEntry> expected; |
18 | 1 | expected = PDBEntryUtils.inferPDBEntry(new Sequence("1sqy_A.pdb","")); |
19 | 1 | assertEquals(expected.size(),1); |
20 | 1 | PDBEntry exp = expected.get(0); |
21 | 1 | assertEquals(exp.getId(),"1sqy"); |
22 | 1 | assertEquals(exp.getChainCode(), "A"); |
23 | ||
24 | ||
25 | } | |
26 | } |