コード例 #1
0
        public void DecodeTextB4()
        {
            Bill bill = SampleQRCodeText.CreateBillData4();

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

            TestHelper.NormalizeDecodedBill(bill2);
            Assert.Equal(bill, bill2);
        }
コード例 #2
0
        public void CreateText4()
        {
            Bill bill = SampleQRCodeText.CreateBillData4();

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