Пример #1
0
        public void readLineFunc()
        {
            String actual;

            using (Pnyx p = new Pnyx())
            {
                p.setSettings(outputNewline: "\n");
                p.readLineFunc(() => new[] { "a", "b", "c" });
                actual = p.processToString();
            }

            Assert.Equal("a\nb\nc", actual);
        }