Skip to content

Commit 95db39c

Browse files
committed
One more test
1 parent ef35e93 commit 95db39c

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

biojava-structure/src/test/java/org/biojava/nbio/structure/PDBStatusTest.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626

2727
import java.io.IOException;
2828

29-
3029
/**
3130
* @author Spencer Bliven <[email protected]>
3231
*
@@ -49,6 +48,15 @@ public void testGetStatus() throws IOException {
4948
Assert.assertEquals(Status.CURRENT, PDBStatus.getStatus("4HHB"));
5049
}
5150

51+
@Test
52+
public void testGetStatusMultipleIds() throws IOException {
53+
String[] ids = {"1HHB", "3HHB", "4HHB"};
54+
Status[] statuses = PDBStatus.getStatus(ids);
55+
Assert.assertEquals(Status.REMOVED, statuses[0]);
56+
Assert.assertEquals(Status.CURRENT, statuses[1]);
57+
Assert.assertEquals(Status.CURRENT, statuses[2]);
58+
}
59+
5260
@Test
5361
public void testGetCurrent() throws IOException {
5462
Assert.assertEquals("4HHB", PDBStatus.getCurrent("1HHB"));

0 commit comments

Comments
 (0)