public void TestAddBond() { NInchiStructure structure = new NInchiStructure(); Assert.AreEqual(0, structure.Bonds.Count); structure.Bonds.Add(TestNInchiBond.GetTestBond()); Assert.AreEqual(1, structure.Bonds.Count); }
public void TestGetBond() { NInchiStructure structure = new NInchiStructure(); NInchiBond bond = TestNInchiBond.GetTestBond(); structure.Bonds.Add(bond); Assert.AreEqual(bond, structure.Bonds[0]); }