Beispiel #1
0
        public void EncodeExample2()
        {
            SwicoBillInformation billInfo = SwicoExamples.CreateExample2();
            string text = billInfo.EncodeAsText();

            Assert.Equal(SwicoExamples.Example2Text, text);
        }
Beispiel #2
0
        public void Example2_FullyDecoded()
        {
            var billInformation = SwicoBillInformation.DecodeText(SwicoExamples.Example2Text);

            Assert.Equal(SwicoExamples.CreateExample2(), billInformation);
        }