public void GDID_8() { var gdid1 = new GDID(0, 1, 12321); var gdid2 = new GDID(0, 1, 0); Assert.AreEqual(1, gdid1.CompareTo(gdid2)); Assert.IsFalse( gdid1.Equals(gdid2)); }
public void GDID_8() { var gdid1 = new GDID(0, 1, 12321); var gdid2 = new GDID(0, 1, 0); Assert.AreEqual(1, gdid1.CompareTo(gdid2)); Assert.IsFalse(gdid1.Equals(gdid2)); }
public void GDID_7() { var gdid1 = new GDID(0, 0, 12321); var gdid2 = new GDID(0, 1, 0); Aver.AreEqual(-1, gdid1.CompareTo(gdid2)); Aver.IsFalse(gdid1.Equals(gdid2)); }
public void GDID_9() { var gdid1 = new GDID(0, 3, 57); var gdid2 = new GDID(0, 3, 57); Assert.AreEqual(0, gdid1.CompareTo(gdid2)); Assert.IsTrue(gdid1.Equals(gdid2)); var gdid3 = new GDID(1, 3, 57); var gdid4 = new GDID(2, 3, 57); Assert.AreEqual(-1, gdid3.CompareTo(gdid4)); Assert.IsFalse(gdid3.Equals(gdid4)); }
public void GDID_9() { var gdid1 = new GDID(0, 3, 57); var gdid2 = new GDID(0, 3, 57); Assert.AreEqual(0, gdid1.CompareTo(gdid2)); Assert.IsTrue( gdid1.Equals(gdid2)); var gdid3 = new GDID(1, 3, 57); var gdid4 = new GDID(2, 3, 57); Assert.AreEqual(-1, gdid3.CompareTo(gdid4)); Assert.IsFalse( gdid3.Equals(gdid4)); }