Skip to content

Commit ad85634

Browse files
committed
Fixed the formatting and added some javadocs
1 parent 0528079 commit ad85634

File tree

1 file changed

+10
-5
lines changed
  • biojava-structure/src/test/java/org/biojava/nbio/structure

1 file changed

+10
-5
lines changed

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

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,8 @@ public void test1BDX() throws IOException, StructureException {
293293

294294
/**
295295
* Test that all the atoms in deuterated structures are bonded.
296-
* @throws IOException
297-
* @throws StructureException
296+
* @throws IOException an error getting the required file
297+
* @throws StructureException an error parsing the required file
298298
*/
299299
@Test
300300
public void testDeuterated() throws IOException, StructureException {
@@ -308,18 +308,23 @@ public void testDeuterated() throws IOException, StructureException {
308308
/**
309309
* Test this weird case - with missing Oxygen atoms, alternate locations on Deuterium
310310
* and terminal hydrogens.
311-
* @throws IOException
312-
* @throws StructureException
311+
* @throws IOException an error getting the required file
312+
* @throws StructureException an error parsing the required file
313313
*/
314314
@Test
315315
public void testWeirdCase() throws IOException, StructureException {
316316
assertEquals(testMissingBonds("1IU6"),6);
317317
}
318318

319319

320+
/**
321+
* Test that Sulphur atoms are not found to be bonded to them selves
322+
* @throws IOException an error getting the required file
323+
* @throws StructureException an error parsing the required file
324+
*/
320325
@Test
321326
public void testSSBonds() throws IOException, StructureException {
322-
for(String pdbCode : new String[]{"3ZXW", "1NTY", "4H2I", "2K6D", "2MLM"}){
327+
for(String pdbCode : new String[]{"3ZXW","1NTY", "4H2I", "2K6D", "2MLM"}){
323328
assertEquals(testBondedToSelf(pdbCode),0);
324329
}
325330
}

0 commit comments

Comments
 (0)