예제 #1
0
        public void GetHashCodeTest()
        {
            DataFlowElement dataFlowElement;

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

            actual = target.GetHashCode();
            Assert.AreEqual(expected, actual);
        }