public void DecodeText4NewLine(string newLine, bool extraNewLine) { Bill bill = SampleQRCodeText.CreateBillData4(); TestHelper.NormalizeSourceBill(bill); Bill bill2 = QRBill.DecodeQrCodeText(SampleQRCodeText.CreateQrCodeText4(newLine) + (extraNewLine ? newLine : "")); TestHelper.NormalizeDecodedBill(bill2); Assert.Equal(bill, bill2); }
public void CreateText4() { Bill bill = SampleQRCodeText.CreateBillData4(); Assert.Equal(SampleQRCodeText.CreateQrCodeText4(), QRBill.EncodeQrCodeText(bill)); }