public void DecodeTextB5() { Bill bill = SampleQRCodeText.CreateBillData5(); TestHelper.NormalizeSourceBill(bill); Bill bill2 = QRBill.DecodeQrCodeText(SampleQRCodeText.CreateQrCodeText5(false)); TestHelper.NormalizeDecodedBill(bill2); Assert.Equal(bill, bill2); }
public void CreateText5() { Bill bill = SampleQRCodeText.CreateBillData5(); Assert.Equal(SampleQRCodeText.CreateQrCodeText5(false), QRBill.EncodeQrCodeText(bill)); }