Skip to content

Commit

Permalink
Final missing test
Browse files Browse the repository at this point in the history
  • Loading branch information
gilleain authored and egonw committed Jun 23, 2010
1 parent 888bf60 commit cf148dd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Expand Up @@ -90,6 +90,7 @@ public void makeVertex(String label) {
*
* @return the constructed atom container
*/
@TestMethod("getAtomContainerTest")
public IAtomContainer getAtomContainer() {
return this.container;
}
Expand Down
Expand Up @@ -191,5 +191,14 @@ public void makeEdgeTest_tripleBond() {
Assert.assertEquals(1, product.getBondCount());
Assert.assertEquals(IBond.Order.TRIPLE, product.getBond(0).getOrder());
}

@Test
public void getAtomContainerTest() {
MoleculeFromSignatureBuilder builder =
new MoleculeFromSignatureBuilder(
NoNotificationChemObjectBuilder.getInstance());
builder.makeGraph();
Assert.assertNotNull(builder.getAtomContainer());
}

}

0 comments on commit cf148dd

Please sign in to comment.