public void Get_replacement_line(string originalLine)
        {
            // Arrange
            var extractor = new TestableCsExtractor();

            // Act
            var result = extractor.GetReplacementLine(originalLine);

            // Assert
            Assert.That(result, Is.EqualTo("replacement line"));
        }
Exemple #2
0
        public void Get_replacement_line(string originalLine)
        {
            // Arrange
            var extractor = new TestableCsExtractor();

            // Act
            var result = extractor.GetReplacementLine(originalLine);

            // Assert
            Assert.That(result, Is.EqualTo("replacement line"));
        }
Exemple #3
0
        public void Is_start_of_block(string originalLine)
        {
            // Arrange
            var extractor = new TestableCsExtractor();

            // Act
            var isStartOfBlock = extractor.IsStartOfBlock(originalLine);

            Console.WriteLine(originalLine.Trim(' ', '\t'));

            // Assert
            Assert.That(isStartOfBlock, Is.True);
        }
        public void Is_start_of_block(string originalLine)
        {
            // Arrange
            var extractor = new TestableCsExtractor();

            // Act
            var isStartOfBlock = extractor.IsStartOfBlock(originalLine);

            Console.WriteLine(originalLine.Trim(' ', '\t'));

            // Assert
            Assert.That(isStartOfBlock, Is.True);
        }