public void Forward_ShouldReturnNullChar_When_LastCharacterIsReached() { ParseStream stream = new ParseStream("/t"); stream.Forward(); Assert.AreEqual('\0', stream.Forward()); }
public char Forward() { return(stream.Forward()); }
public void Forward_ShouldReturn_TheCurrentCharacter() { ParseStream stream = new ParseStream("/text"); Assert.AreEqual('t', stream.Forward()); }