Exemplo n.º 1
0
        public static int GetAtomCount(IReactionSet set)
        {
            int count = 0;

            foreach (var iReaction in set)
            {
                count += ReactionManipulator.GetAtomCount(iReaction);
            }
            return(count);
        }
Exemplo n.º 2
0
 public void TestGetAtomCount_IReaction()
 {
     Assert.AreEqual(19, ReactionManipulator.GetAtomCount(reaction));
 }