コード例 #1
0
        public void ClearFormula()
        {
            ChemicalFormula formulaA = new ChemicalFormula("C2H3NO");

            formulaA.Clear();
            Assert.AreEqual(formulaA, new ChemicalFormula());
        }
コード例 #2
0
        public void ClearFormula()
        {
            ChemicalFormula formulaA = new ChemicalFormula("C2H3NO");
            formulaA.Clear();

            Assert.AreEqual(formulaA, EmptyFormula);
        }