示例#1
0
        public void Forward_ShouldReturnNullChar_When_LastCharacterIsReached()
        {
            ParseStream stream = new ParseStream("/t");

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

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