Example #1
0
        public void GetHashCode_returns_same_value()
        {
            // arrange
            var target   = new TagEnd();
            var expected = new TagEnd().GetHashCode();

            // act
            var actual = target.GetHashCode();

            // assert
            Assert.Equal(expected, actual);
        }
Example #2
0
        public void GetHashCode_returns_same_value()
        {
            // arrange
            TagEnd target;
            int    expected;
            int    actual;

            target = new TagEnd();

            expected = new TagEnd().GetHashCode();

            // act
            actual = target.GetHashCode();

            // assert
            Assert.AreEqual(expected, actual);
        }