public void SegmentsWithSameLengthAndDifferentOffsetAreNotEqual()
        {
            WixDocumentLineSegment lhs = new WixDocumentLineSegment(3, 5);
            WixDocumentLineSegment rhs = new WixDocumentLineSegment(4, 5);

            Assert.IsFalse(lhs.Equals(rhs));
        }
        public void SegmentsWithSameOffsetAndLengthAreEqual()
        {
            WixDocumentLineSegment lhs = new WixDocumentLineSegment(4, 5);
            WixDocumentLineSegment rhs = new WixDocumentLineSegment(4, 5);

            Assert.IsTrue(lhs.Equals(rhs));
        }
        public void NullSegmentIsNotEqualToSegment()
        {
            WixDocumentLineSegment lhs = new WixDocumentLineSegment(1, 4);

            Assert.IsFalse(lhs.Equals(null));
        }