public void MatchWhenCalledWithCarriageReturnReturnsTokenPosition() { var tokenMatcher = new WhiteSpaceToken(); Assert.That(tokenMatcher.Match("\r"), Is.EqualTo("\r")); }
public void MatchWhenCalledWithMultipleSpacesReturnsTokenPosition() { var tokenMatcher = new WhiteSpaceToken(); Assert.That(tokenMatcher.Match(" "), Is.EqualTo(" ")); }