Ejemplo n.º 1
0
        [TestMethod()] public void SmallRingTest_linked()
        {
            Graph g = Graph.FromSmiles("C1CCC(CC1)=C1CCCCC1");

            Assert.IsFalse(Localise.InSmallRing(g, g.CreateEdge(3, 6)));
        }
Ejemplo n.º 2
0
        [TestMethod()] public void SmallRingTest_7()
        {
            Graph g = Graph.FromSmiles("C1CCCCCC1");

            Assert.IsTrue(Localise.InSmallRing(g, g.CreateEdge(0, 1)));
        }