Skip to content

Commit

Permalink
Fixed charge in unit test: +4 not 0
Browse files Browse the repository at this point in the history
  • Loading branch information
egonw committed Aug 12, 2011
1 parent 17d6044 commit c8bf1f1
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -3524,10 +3524,9 @@ public void test_Te_4plus() throws Exception {
IChemObjectBuilder builder = DefaultChemObjectBuilder.getInstance();
IMolecule mol = builder.newInstance(IMolecule.class);
IAtom a1 = builder.newInstance(IAtom.class,"Te");
a1.setFormalCharge(0);
a1.setFormalCharge(4);
mol.addAtom(a1);


String[] expectedTypes = {"Te.4plus"};
assertAtomTypes(testedAtomTypes, expectedTypes, mol);
}
Expand Down

0 comments on commit c8bf1f1

Please sign in to comment.