Example #1
0
        public void CompareDifferent()
        {
            ChemObject co1 = new ChemObject();
            ChemObject co2 = new ChemObject();

            co1.Id = "a1";
            co2.Id = "a2";
            Assert.IsFalse(co1.Compare(co2));
        }
Example #2
0
        public void Compare()
        {
            ChemObject co1 = new ChemObject();
            ChemObject co2 = new ChemObject();

            co1.Id = "a1";
            co2.Id = "a1";
            Assert.IsTrue(co1.Compare(co2));
        }