public void GDIDWithInt_NotEquals2() { var g1 = new GDIDWithInt(new GDID(1, 123), 341); var g2 = new GDIDWithInt(new GDID(1, 214), 341); Aver.AreNotEqual(g1, g2); Aver.AreNotEqual(g1.GetHashCode(), g2.GetHashCode()); Aver.AreNotEqual(g1.GetDistributedStableHash(), g2.GetDistributedStableHash()); }
public void GDIDWithInt_Equals() { var g1 = new GDIDWithInt(new GDID(1, 123), 100); var g2 = new GDIDWithInt(new GDID(1, 123), 100); Aver.AreEqual(g1, g2); Aver.AreEqual(g1.GetHashCode(), g2.GetHashCode()); Aver.AreEqual(g1.GetDistributedStableHash(), g2.GetDistributedStableHash()); }
public void GDIDWithInt_NotEquals2() { var g1 = new GDIDWithInt(new GDID(1,123), 341); var g2 = new GDIDWithInt(new GDID(1,214), 341); Assert.AreNotEqual(g1,g2); Assert.AreNotEqual(g1.GetHashCode(),g2.GetHashCode()); Assert.AreNotEqual(g1.GetDistributedStableHash(),g2.GetDistributedStableHash()); }
public void GDIDWithInt_Equals() { var g1 = new GDIDWithInt(new GDID(1, 123), 100); var g2 = new GDIDWithInt(new GDID(1, 123), 100); Assert.AreEqual(g1, g2); Assert.AreEqual(g1.GetHashCode(), g2.GetHashCode()); Assert.AreEqual(g1.GetDistributedStableHash(), g2.GetDistributedStableHash()); }