We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef35e93 commit 95db39cCopy full SHA for 95db39c
1 file changed
biojava-structure/src/test/java/org/biojava/nbio/structure/PDBStatusTest.java
@@ -26,7 +26,6 @@
26
27
import java.io.IOException;
28
29
-
30
/**
31
* @author Spencer Bliven <[email protected]>
32
*
@@ -49,6 +48,15 @@ public void testGetStatus() throws IOException {
49
48
Assert.assertEquals(Status.CURRENT, PDBStatus.getStatus("4HHB"));
50
}
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
+
60
@Test
61
public void testGetCurrent() throws IOException {
62
Assert.assertEquals("4HHB", PDBStatus.getCurrent("1HHB"));
0 commit comments