Esempio n. 1
0
        public void HashCodeNoMatch2()
        {
            var gamsKey1 = new GamsKey("key1", "key2");
            var gamsKey2 = new GamsKey("key2", "key1");

            Assert.AreNotEqual(gamsKey1.GetHashCode(), gamsKey2.GetHashCode());
        }
Esempio n. 2
0
        public void HashCodeMatch(string[] keys)
        {
            var gamsKey1 = new GamsKey(keys);
            var gamsKey2 = new GamsKey(keys);

            Assert.AreEqual(gamsKey1.GetHashCode(), gamsKey2.GetHashCode());
        }