public void TestNewAdductFormula_IMolecularFormula() { IChemObjectBuilder builder = RootObject.Builder; IAdductFormula af = builder.NewAdductFormula(builder.NewMolecularFormula()); Assert.IsNotNull(af); }
public override void TestClone() { IAdductFormula mfS = Builder.NewAdductFormula(); object clone = mfS.Clone(); Assert.IsTrue(clone is IAdductFormula); Assert.AreNotSame(mfS, clone); }