Beispiel #1
0
        public void DecodeText5NewLine(string newLine, bool extraNewLine)
        {
            Bill bill = SampleQRCodeText.CreateBillData5();

            TestHelper.NormalizeSourceBill(bill);
            Bill bill2 = QRBill.DecodeQrCodeText(SampleQRCodeText.CreateQrCodeText5(newLine) + (extraNewLine ? newLine : ""));

            TestHelper.NormalizeDecodedBill(bill2);
            Assert.Equal(bill, bill2);
        }
        public void CreateText5()
        {
            Bill bill = SampleQRCodeText.CreateBillData5();

            Assert.Equal(SampleQRCodeText.CreateQrCodeText5(), QRBill.EncodeQrCodeText(bill));
        }