public void TestAddAtom() { NInchiStructure structure = new NInchiStructure(); Assert.AreEqual(0, structure.Atoms.Count); structure.Atoms.Add(TestNInchiAtom.GetNewTestAtom()); Assert.AreEqual(1, structure.Atoms.Count); }
public void TestGetAtom() { NInchiStructure structure = new NInchiStructure(); NInchiAtom atom = TestNInchiAtom.GetNewTestAtom(); structure.Atoms.Add(atom); Assert.AreEqual(atom, structure.Atoms[0]); }