public void TrimStartToTest( string text, IReadOnlyCollection <string> tokens, string expectedResult) { ScanPreprocessor scanPreprocessor = new ScanPreprocessor(); string result = scanPreprocessor.TrimStartTo(text, tokens); result.Should().Be(expectedResult); }
public void PreprocessTest( string text, string[] tokens, string expectedResult) { ScanPreprocessor scanPreprocessor = new ScanPreprocessor(); string result = scanPreprocessor.Preprocess(text, tokens); result.Should().Be(expectedResult); }