Example #1
0
        public virtual void TestReadAtomTypes_IChemObjectBuilder()
        {
            var configFile   = "NCDK.Config.Data.jmol_atomtypes.txt";
            var ins          = ResourceLoader.GetAsStream(typeof(TXTBasedAtomTypeConfigurator), configFile);
            var configurator = new TXTBasedAtomTypeConfigurator();

            configurator.SetStream(ins);
            var atomTypes = configurator.ReadAtomTypes();

            Assert.AreNotSame(0, atomTypes.Count());
        }
Example #2
0
        public virtual void TestTXTBasedAtomTypeConfigurator()
        {
            var configurator = new TXTBasedAtomTypeConfigurator();

            Assert.IsNotNull(configurator);
        }