Esempio n. 1
0
        public void HashCodeTests()
        {
            var h1            = nba1.GetHashCode();
            var h1_copy       = nba1_copy.GetHashCode();
            var h2            = nhl1.GetHashCode();
            var h1_conference = c1.GetHashCode();

            Assert.AreEqual(h1, h1_copy);
            Assert.AreNotEqual(h1, h2);
            Assert.AreNotEqual(h1, h1_conference);
        }