Beispiel #1
0
        public void TestMatches()
        {
            Atom c = new Atom("C");
            Atom n = new Atom("N");

            Assert.IsTrue(symbolSet.Matches(c));
            Assert.IsFalse(symbolSet.Matches(n));
        }
Beispiel #2
0
        public void TestMatches()
        {
            var builder = Silent.ChemObjectBuilder.Instance;
            var c       = builder.NewAtom("C");
            var n       = builder.NewAtom("N");

            Assert.IsTrue(symbolSet.Matches(c));
            Assert.IsFalse(symbolSet.Matches(n));
        }