public void GetHashCodeTest() { DataFlowElement dataFlowElement; dataFlowElement = new DataFlowElement("name", "tag"); Assert.AreEqual("name".GetHashCode(), dataFlowElement.GetHashCode()); }
public void GetHashCodeTest() { DataFlowElement target = new DataFlowElement("Hello"); int expected = "Hello".GetHashCode(); int actual; actual = target.GetHashCode(); Assert.AreEqual(expected, actual); }