コード例 #1
0
        public void CanExtractCommentText(string text, int expectedStart, int expectedLength)
        {
            var result = CommentTextExtractor.LocateSingleLineCommentText(text);

            result.Start.Should().Be(expectedStart);
            result.Length.Should().Be(expectedLength);
        }