Esempio n. 1
0
 public void GetHashCodeTest()
 {
     CategoryItem target = new CategoryItem("Hello", CategoryItemType.String);
     int expected = "^Hello$".GetHashCode();
     int actual = target.GetHashCode();
     Assert.AreEqual(expected, actual);
 }
Esempio n. 2
0
        public void GetHashCodeTest()
        {
            CategoryItem target   = new CategoryItem("Hello", CategoryItemType.String);
            int          expected = "^Hello$".GetHashCode();
            int          actual   = target.GetHashCode();

            Assert.AreEqual(expected, actual);
        }