Example #1
0
        public void TestCSVWriteWithCaret_Success()
        {
            var    testData   = GetCsvWriteTestData("TestKey", "TestValue");
            string csv        = CSVParser.WriteToString(CSVParser.GetDelimiter(CSVParser.Delimiter.CARET), testData);
            var    actualData = CSVParser.ReadFromString(csv, CSVParser.GetDelimiter(CSVParser.Delimiter.CARET));

            Assert.AreEqual(testData[0][0], actualData[0][0]);
            Assert.AreEqual(testData[0][1], actualData[0][1]);
        }