Exemplo n.º 1
0
 public static IEnumerable <IChemObject> GetAllChemObjects(IChemObjectSet <IAtomContainer> set)
 {
     return(AtomContainerSetManipulator.GetAllChemObjects(set));
 }
        public void TestGetAllChemObjects_IAtomContainerSet()
        {
            var list = AtomContainerSetManipulator.GetAllChemObjects(som);

            Assert.AreEqual(3, list.Count()); // only AtomContainerSets and AtomContainers at the moment (see source code comment)
        }