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