public void HashCodeNoMatch2() { var gamsKey1 = new GamsKey("key1", "key2"); var gamsKey2 = new GamsKey("key2", "key1"); Assert.AreNotEqual(gamsKey1.GetHashCode(), gamsKey2.GetHashCode()); }
public void HashCodeMatch(string[] keys) { var gamsKey1 = new GamsKey(keys); var gamsKey2 = new GamsKey(keys); Assert.AreEqual(gamsKey1.GetHashCode(), gamsKey2.GetHashCode()); }