Skip to content

Commit 5feb565

Browse files
committed
Add a more complete check to structure serialization test
1 parent bc14209 commit 5feb565

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,8 @@ public void testSerializeStructure() throws IOException, StructureException, Cla
6464
assertEquals(sin.getChains().size(), sout.getChains().size());
6565
assertEquals(sin.getName(), sout.getName());
6666

67+
// Test equal string representations
68+
assertEquals(sin.toString(), sout.toString());
69+
6770
}
6871
}

0 commit comments

Comments
 (0)