Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Updated for the bug fix in commit 37ca43c
Change-Id: I5cdf3b4df888084a723cb12fab5d54a21b724792

Signed-off-by: Rajarshi  Guha <rajarshi.guha@gmail.com>
  • Loading branch information
egonw authored and rajarshi committed Jul 1, 2012
1 parent 948f02f commit 74ee663
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -246,7 +246,7 @@ public void testMethane() throws Exception {

Assert.assertEquals(1, mol.getAtomCount());
IMolecularFormula formula = MolecularFormulaManipulator.getMolecularFormula(mol);
Assert.assertEquals(1, MolecularFormulaManipulator.getElementCount(formula,mol.getBuilder().newInstance(IElement.class,"H")));
Assert.assertEquals(2, MolecularFormulaManipulator.getElementCount(formula,mol.getBuilder().newInstance(IElement.class,"H")));
Assert.assertEquals(0, mol.getConnectedBondsCount(proton));
Assert.assertNotNull(proton.getImplicitHydrogenCount());
Assert.assertEquals(1, proton.getImplicitHydrogenCount().intValue());
Expand Down

0 comments on commit 74ee663

Please sign in to comment.