private IAtom Parse(string str) { CharBuffer buffer = CharBuffer.FromString(str); return(new Parser(buffer, false).Molecule().GetAtom(0)); }
private void Verify(string str, int count) { Assert.AreEqual(Parser.ReadHydrogens(CharBuffer.FromString(str)), count); }
private void Verify(string str, int charge) { Assert.AreEqual(Parser.ReadCharge(CharBuffer.FromString(str)), charge); }