Exemple #1
0
        public void ReadFromCSVStream(string Text, string AlterN)
        {
            if (AlterN == null)
            {
                AlterN = Text;
            }
            var Tb = new CSVTable();

            Tb.ParseFromStream(new StreamReader(new MemoryStream(Encoding.UTF8.GetBytes(Text))));
            Assert.Equal(AlterN, Tb.ToCSVString());
        }