Permalink
Browse files

Fixed charge in unit test: +4 not 0

  • Loading branch information...
1 parent 17d6044 commit c8bf1f16103b10d9ae48f4644f192bcde9d10a2b @egonw egonw committed Aug 12, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/test/org/openscience/cdk/atomtype/CDKAtomTypeMatcherTest.java
@@ -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);
}

0 comments on commit c8bf1f1

Please sign in to comment.