public void TestCompare_DiffBondOrderSum() { AtomType at1 = new AtomType("C"); AtomType at2 = new AtomType("C"); at1.BondOrderSum = 1.5; at2.BondOrderSum = 2.0; Assert.IsFalse(at1.Compare(at2)); }
public void TestCompare_DiffAtomTypeName() { AtomType at1 = new AtomType("C"); AtomType at2 = new AtomType("C"); at1.AtomTypeName = "C4"; at2.AtomTypeName = "C3"; Assert.IsFalse(at1.Compare(at2)); }
public void TestCompare_BondOrderSum() { AtomType at1 = new AtomType("C"); AtomType at2 = new AtomType("C"); at1.BondOrderSum = 1.5; at2.BondOrderSum = 1.5; Assert.IsTrue(at1.Compare(at2)); }
public void TestCompare_AtomTypeName() { AtomType at1 = new AtomType("C"); AtomType at2 = new AtomType("C"); at1.AtomTypeName = "C4"; at2.AtomTypeName = "C4"; Assert.IsTrue(at1.Compare(at2)); }