Exemplo n.º 1
0
        public void StreamParser_IsPunctuation_1()
        {
            StreamParser parser = StreamParser.FromString("1!hello");

            Assert.IsFalse(parser.IsPunctuation());
            parser.ReadChar();
            Assert.IsTrue(parser.IsPunctuation());
            parser.ReadChar();
            Assert.IsFalse(parser.IsPunctuation());
        }