public void DecodeTextB4() { Bill bill = SampleQRCodeText.CreateBillData4(); TestHelper.NormalizeSourceBill(bill); Bill bill2 = QRBill.DecodeQrCodeText(SampleQRCodeText.CreateQrCodeText4(false)); TestHelper.NormalizeDecodedBill(bill2); Assert.Equal(bill, bill2); }
public void CreateText4() { Bill bill = SampleQRCodeText.CreateBillData4(); Assert.Equal(SampleQRCodeText.CreateQrCodeText4(false), QRBill.EncodeQrCodeText(bill)); }