Exemple #1
0
        public virtual void InvisibleCarbonTest()
        {
            // NOTE : just testing the element symbol here, see showCarbonTest
            // for the full range of possibilities...
            IAtom          carbon         = base.builder.NewAtom("C");
            IAtomContainer dummyContainer = base.builder.NewAtomContainer();

            // we force the issue by making isKekule=true
            model.SetKekuleStructure(true);

            Assert.IsFalse(generator.InvisibleCarbon(carbon, dummyContainer, model));
        }