public void Forward_ShouldReturnNullChar_When_LastCharacterIsReached()
        {
            ParseStream stream = new ParseStream("/t");

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

            Assert.AreEqual('t', stream.Forward());
        }