예제 #1
0
        //    [TestMethod()] public void Cyclooctatetraene_3() {
        //        Apply("[C@H]1=[C@@H][C@H]=[C@H][C@@H]=[C@@H][C@H]=[C@@H]1",
        //                  "C\\1=C/C=C\\C=C/C=C1");
        //    }

        static void Transform(string smi, string exp)
        {
            ImplicitToExplicit   ite = new ImplicitToExplicit();
            FromTrigonalTopology ftt = new FromTrigonalTopology();
            ExplicitToImplicit   eti = new ExplicitToImplicit();

            Assert.AreEqual(exp, Generator
                            .Generate(eti.Apply(ftt.Apply(ite.Apply(Parser.Parse(smi))))));
        }