Ejemplo n.º 1
0
        public void TextSectionWithDifferentLengthAreNotEqual()
        {
            TextSection lhs = new TextSection(0, 15);
            TextSection rhs = new TextSection(0, 1);

            Assert.IsFalse(lhs.Equals(rhs));
        }
Ejemplo n.º 2
0
        public void TextSectionWithSameOffsetAndLengthAreEqual()
        {
            TextSection lhs = new TextSection(0, 1);
            TextSection rhs = new TextSection(0, 1);

            Assert.IsTrue(lhs.Equals(rhs));
        }