CSMSL.Tests.Chemistry.ChemicalFormulaTestFixture.ImplicitAddNullFormulaRight C# (CSharp) Method

ImplicitAddNullFormulaRight() private method

private ImplicitAddNullFormulaRight ( ) : void
return void
        public void ImplicitAddNullFormulaRight()
        {
            ChemicalFormula formulaA = new ChemicalFormula("C2H3NO");
            ChemicalFormula formulaB = new ChemicalFormula("C2H3NO");

            ChemicalFormula formulaC = formulaA + NullChemicalFormula;

            Assert.AreEqual(formulaC, formulaB);
        }
ChemicalFormulaTestFixture