public void GDIDWithStrHash_NotEquals3() { var g1 = new GDIDWithStrHash(new GDID(1, 123), "lenen"); var g2 = new GDIDWithStrHash(new GDID(1, 123), "lenin"); Aver.AreNotEqual(g1, g2); Aver.AreNotEqual(g1.GetHashCode(), g2.GetHashCode()); Aver.AreNotEqual(g1.GetDistributedStableHash(), g2.GetDistributedStableHash()); }
public void GDIDWithStrHash_NotEquals2() { var g1 = new GDIDWithStrHash(new GDID(1, 123), "this is my long line"); var g2 = new GDIDWithStrHash(new GDID(1, 121), "this is my long line"); Aver.AreNotEqual(g1, g2); Aver.AreNotEqual(g1.GetHashCode(), g2.GetHashCode()); Aver.AreNotEqual(g1.GetDistributedStableHash(), g2.GetDistributedStableHash()); }
public void GDIDWithStrHash_NotEquals3() { var g1 = new GDIDWithStrHash(new GDID(1, 123), "lenen"); var g2 = new GDIDWithStrHash(new GDID(1, 123), "lenin"); Assert.AreNotEqual(g1, g2); Assert.AreNotEqual(g1.GetHashCode(), g2.GetHashCode()); Assert.AreNotEqual(g1.GetDistributedStableHash(), g2.GetDistributedStableHash()); }
public void GDIDWithStrHash_NotEquals2() { var g1 = new GDIDWithStrHash(new GDID(1, 123), "this is my long line"); var g2 = new GDIDWithStrHash(new GDID(1, 121), "this is my long line"); Assert.AreNotEqual(g1, g2); Assert.AreNotEqual(g1.GetHashCode(), g2.GetHashCode()); Assert.AreNotEqual(g1.GetDistributedStableHash(), g2.GetDistributedStableHash()); }