コード例 #1
0
        public void Equals_False_WhenExpected(AttributeBlockChunkGenerator leftObject, object rightObject)
        {
            // Arrange & Act
            var result = leftObject.Equals(rightObject);

            // Assert
            Assert.False(result);
        }
コード例 #2
0
        public void GetHashCode_ReturnsSameValue_WhenEqual(
            AttributeBlockChunkGenerator leftObject,
            AttributeBlockChunkGenerator rightObject)
        {
            // Arrange & Act
            var leftResult  = leftObject.GetHashCode();
            var rightResult = rightObject.GetHashCode();

            // Assert
            Assert.Equal(leftResult, rightResult);
        }
コード例 #3
0
        public void GetHashCode_ReturnsSameValue_WhenEqual(
            AttributeBlockChunkGenerator leftObject,
            AttributeBlockChunkGenerator rightObject)
        {
            // Arrange & Act
            var leftResult = leftObject.GetHashCode();
            var rightResult = rightObject.GetHashCode();

            // Assert
            Assert.Equal(leftResult, rightResult);
        }
コード例 #4
0
        public void Equals_False_WhenExpected(AttributeBlockChunkGenerator leftObject, object rightObject)
        {
            // Arrange & Act
            var result = leftObject.Equals(rightObject);

            // Assert
            Assert.False(result);
        }