Skip to content

Commit 95db39c

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

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

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 <sbliven@ucsd.edu>
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy