public void LinePositionEquals_ReturnsFalseWhenGivenVeryUnequalArguments()
        {
            var linePosition  = new LinePosition(13, 4);
            var linePosition2 = new LinePosition(1, 27);

            linePosition.Equals(linePosition2).ShouldBe(false);
        }
        public void LinePositionEquals_ReturnsTrueWhenGivenEqualArguments()
        {
            var linePosition      = new LinePosition(1, 1);
            var otherLinePosition = new LinePosition(1, 1);

            linePosition.Equals(otherLinePosition).ShouldBe(true);
        }
        public void LinePositionEquals_ReturnsFalseWhenGivenUnequalArguments()
        {
            var linePosition          = new LinePosition(1, 1);
            var differentLinePosition = new LinePosition(2, 1);

            linePosition.Equals(differentLinePosition).ShouldBe(false);
        }
        private static bool DiffEndLinePos(
            StringBuilder builder,
            LinePosition expected,
            LinePosition actual,
            string expectedPath,
            string actualPath
            )
        {
            if (actual.Equals(expected))
            {
                builder.AppendLine(
                    $"      // It will be shown by 1-based index like: \"{expectedPath}({actual.Line + 1},{actual.Character + 1}): Lorem Ipsum ...\")"
                    );
                builder.AppendLine(
                    $"      EndLinePosition = new LinePosition({actual.Line}, {actual.Character})"
                    );
                return(false);
            }

            builder.AppendLine(
                $"-     // It will be shown by 1-based index like: \"{expectedPath}({expected.Line + 1},{expected.Character + 1}): Lorem Ipsum ...\")"
                );
            builder.AppendLine(
                $"-     EndLinePosition = new LinePosition({expected.Line}, {expected.Character})"
                );
            builder.AppendLine(
                $"+     // It will be shown by 1-based index like: \"{actualPath}({actual.Line + 1},{actual.Character + 1}): Lorem Ipsum ...\")"
                );
            builder.AppendLine(
                $"+     EndLinePosition = new LinePosition({actual.Line}, {actual.Character})"
                );
            return(true);
        }