예제 #1
0
        public void StreamParser_IsControl_1()
        {
            StreamParser parser = StreamParser.FromString("1\nhello");

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