Tests.vCardStandardReaderTests.DecodeQuotedPrintable_EqualSign_NoMoreLines C# (CSharp) Method

DecodeQuotedPrintable_EqualSign_NoMoreLines() private method

private DecodeQuotedPrintable_EqualSign_NoMoreLines ( ) : void
return void
        public void DecodeQuotedPrintable_EqualSign_NoMoreLines()
        {

            // A single equal sign can be written at the end
            // of a line.  This is a hint to the decoder that
            // the data continues on the next line.  However,
            // an equal sign at the very end of a line, with
            // no more lines, it invalid.  The decoder should treat
            // it as a bad sequence and output it as raw text.

            Assert.AreEqual(
                "=",
                vCardStandardReader.DecodeQuotedPrintable("="),
                "The invalid equal sign is treated as raw data.");

        }