public void ShouldDoNothingWhenBookTextContainsNoMatchingText() { var startStriper = new StartStriper(); var stripped = startStriper.Parse(new ParserResult <string>(parsed: InputNotToParse)); Assert.Equal(new ParserResult <string>(parsed: InputNotToParse).Parsed, stripped.Parsed); }
public void ShouldStripStartDataWhenBookText() { var startStriper = new StartStriper(); var stripped = startStriper.Parse(new ParserResult <string>(parsed: Input)); Assert.Equal(new ParserResult <string>(parsed: Expected).Parsed, stripped.Parsed); }