public void DecodeTextB2() { Bill bill = SampleQRCodeText.CreateBillData2(); TestHelper.NormalizeSourceBill(bill); Bill bill2 = QRBill.DecodeQrCodeText(SampleQRCodeText.CreateQrCodeText2(false)); TestHelper.NormalizeDecodedBill(bill2); Assert.Equal(bill, bill2); }
public void CreateText2() { Bill bill = SampleQRCodeText.CreateBillData2(); Assert.Equal(SampleQRCodeText.CreateQrCodeText2(false), QRBill.EncodeQrCodeText(bill)); }