@Test public void hydrogenHandling21() throws StructureBuildingException { Fragment fragment = sBuilder.build("[o+]1ccccc1"); List<Atom> atomList = fragment.getAtomList(); assertEquals(6, atomList.size()); assertEquals(1, atomList.get(0).getProtonsExplicitlyAddedOrRemoved()); assertEquals(true, atomList.get(0).hasSpareValency()); assertEquals(3, atomList.get(0).determineValency(true)); assertEquals(0, atomList.get(1).getProtonsExplicitlyAddedOrRemoved()); assertEquals(4, atomList.get(1).determineValency(true)); assertEquals(true, atomList.get(1).hasSpareValency()); }
Fragment build(String smiles) throws StructureBuildingException { return build(smiles, "", NONE_LABELS_VAL); }
SMILESFragmentBuilder { Fragment build(String smiles) throws StructureBuildingException { return build(smiles, "", NONE_LABELS_VAL); } }
SMILESFragmentBuilder { Fragment build(String smiles) throws StructureBuildingException { return build(smiles, "", NONE_LABELS_VAL); } SMILESFragmentBuilder(IDManager idManager); }
SMILESFragmentBuilder { Fragment build(String smiles) throws StructureBuildingException { return build(smiles, "", NONE_LABELS_VAL); } SMILESFragmentBuilder(IDManager idManager);  }
SMILESFragmentBuilder { Fragment build(String smiles) throws StructureBuildingException { return build(smiles, "", NONE_LABELS_VAL); } SMILESFragmentBuilder(IDManager idManager);   }