File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
biojava-structure/src/test/java/org/biojava/nbio/structure Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 26
26
27
27
import java .io .IOException ;
28
28
29
-
30
29
/**
31
30
* @author Spencer Bliven <sbliven@ucsd.edu>
32
31
*
@@ -49,6 +48,15 @@ public void testGetStatus() throws IOException {
49
48
Assert .assertEquals (Status .CURRENT , PDBStatus .getStatus ("4HHB" ));
50
49
}
51
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
+
52
60
@ Test
53
61
public void testGetCurrent () throws IOException {
54
62
Assert .assertEquals ("4HHB" , PDBStatus .getCurrent ("1HHB" ));
You can’t perform that action at this time.
0 commit comments