Exemplo n.º 1
0
        public void GetHashCode_ReturnsSameValue_WhenEqual(SpanEditHandler leftObject, SpanEditHandler rightObject)
        {
            // Arrange & Act
            var leftResult = leftObject.GetHashCode();
            var rightResult = rightObject.GetHashCode();

            // Assert
            Assert.Equal(leftResult, rightResult);
        }
Exemplo n.º 2
0
 public SpanConstructor With(SpanEditHandler handler)
 {
     Builder.EditHandler = handler;
     return this;
 }
Exemplo n.º 3
0
        public void Equals_True_WhenExpected(SpanEditHandler leftObject, SpanEditHandler rightObject)
        {
            // Arrange & Act
            var result = leftObject.Equals(rightObject);

            // Assert
            Assert.True(result);
        }