public void TextSectionWithDifferentLengthAreNotEqual() { TextSection lhs = new TextSection(0, 15); TextSection rhs = new TextSection(0, 1); Assert.IsFalse(lhs.Equals(rhs)); }
public void TextSectionWithSameOffsetAndLengthAreEqual() { TextSection lhs = new TextSection(0, 1); TextSection rhs = new TextSection(0, 1); Assert.IsTrue(lhs.Equals(rhs)); }