/// <summary> /// </summary> /// <param name="set">The collection of IAtomContainer objects</param> /// <seealso cref="AtomContainerSetManipulator"/> /// <returns>the total implicit hydrogen count on the collection of molecules</returns> public static int GetTotalHydrogenCount(IChemObjectSet <IAtomContainer> set) { return(AtomContainerSetManipulator.GetTotalHydrogenCount(set)); }
public void TestGetTotalHydrogenCount_IAtomContainerSet() { var hCount = AtomContainerSetManipulator.GetTotalHydrogenCount(som); Assert.AreEqual(3, hCount); }