示例#1
0
        public void EncodeExample1()
        {
            SwicoBillInformation billInfo = SwicoExamples.CreateExample1();
            string text = billInfo.EncodeAsText();

            Assert.Equal(SwicoExamples.Example1Text, text);
        }
示例#2
0
        public void Example1_FullyDecoded()
        {
            var billInformation = SwicoBillInformation.DecodeText(SwicoExamples.Example1Text);

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