Ejemplo n.º 1
0
        public void TestCalculate_IronOxide()
        {
            var material = CDK.Builder.NewSubstance();

            material.Add(MolecularFormulaManipulator.GetAtomContainer("Fe3O4", material.Builder));
            var value = Descriptor.Calculate(material);

            Assert.IsNotNull(value);
            Assert.AreEqual(4, value.Value);
        }