Exemplo n.º 1
0
        public void DecodeTextB2()
        {
            Bill bill = SampleQRCodeText.CreateBillData2();

            TestHelper.NormalizeSourceBill(bill);
            Bill bill2 = QRBill.DecodeQrCodeText(SampleQRCodeText.CreateQrCodeText2(false));

            TestHelper.NormalizeDecodedBill(bill2);
            Assert.Equal(bill, bill2);
        }
Exemplo n.º 2
0
        public void CreateText2()
        {
            Bill bill = SampleQRCodeText.CreateBillData2();

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