Exemplo n.º 1
0
        public void TestCubane()
        {
            string         expected = "[C]([C]([C,3]([C,2])[C,1]([C,2]))[C]([C,3][C,0]" + "([C,2]))[C]([C,0][C,1]))";
            IAtomContainer mol      = AbstractSignatureTest.MakeCubane();

            Assert.AreEqual(expected, this.CanonicalStringFromMolecule(mol));
        }
Exemplo n.º 2
0
        public void TestCubane()
        {
            IAtomContainer         cubane = AbstractSignatureTest.MakeCubane();
            SignatureQuotientGraph qGraph = new SignatureQuotientGraph(cubane);

            CheckParameters(qGraph, 1, 1, 1);
        }
Exemplo n.º 3
0
        public void CuneaneCubaneHeightTest()
        {
            IAtomContainer cuneane          = AbstractSignatureTest.MakeCuneane();
            IAtomContainer cubane           = AbstractSignatureTest.MakeCubane();
            int            height           = 1;
            AtomSignature  cuneaneSignature = new AtomSignature(0, height, cuneane);
            AtomSignature  cubaneSignature  = new AtomSignature(0, height, cubane);
            string         cuneaneSigString = cuneaneSignature.ToCanonicalString();
            string         cubaneSigString  = cubaneSignature.ToCanonicalString();

            Assert.AreEqual(cuneaneSigString, cubaneSigString);
        }