public void BufferRangeEquals() { var range = new BufferRange(new BufferPosition(1, 1), new BufferPosition(2, 2)); Assert.False(range.Equals(null)); Assert.True(range.Equals(range)); Assert.NotNull(range.GetHashCode()); }
public bool Equals(BufferFileRange other) { return(_range == other._range || _range.Equals(other._range)); }