Example #1
0
 public void PrimeDecode_QuotedEscapedTest_EqualsTestWithSubQuotes()
 {
     Assert.AreEqual("Test \"Quote\"", CsvCodec.Decode("\"Test \"\"Quote\"\"\""));
 }
Example #2
0
 public void PrimeDecode_QuotedTestString_EqualsTest()
 {
     Assert.AreEqual("Test", CsvCodec.Decode("\"Test\""));
 }
Example #3
0
 public void PrimeDecode_QuotedEmptyString_EqualsEmptyString()
 {
     Assert.AreEqual(string.Empty, CsvCodec.Decode("\"\""));
 }
Example #4
0
 public void PrimeDecode_NullOrEmpty_EqualsStringEmpty()
 {
     Assert.AreEqual(string.Empty, CsvCodec.Decode(null));
 }