GetHashCode() public method

public GetHashCode ( ) : int
return int
        public void PosTest1()
        {
            int expectedValue;
            int actualValue;
            UnicodeEncoding uE1 = new UnicodeEncoding();
            UnicodeEncoding uE2 = new UnicodeEncoding();

            expectedValue = uE1.GetHashCode();
            actualValue = uE2.GetHashCode();

            Assert.Equal(expectedValue, actualValue);
        }