private Task GenerateAndCompareBill(Bill bill, OutputSize outputSize, GraphicsFormat graphicsFormat) { bill.Format.OutputSize = outputSize; bill.Format.GraphicsFormat = graphicsFormat; byte[] imageData = QRBill.Generate(bill); return(VerifyImages.Verify(imageData, graphicsFormat)); }
private Task GenerateAndCompareBill(Bill bill, GraphicsFormat graphicsFormat, SeparatorType separatorType) { bill.Format.GraphicsFormat = graphicsFormat; bill.Format.SeparatorType = separatorType; byte[] imageData = QRBill.Generate(bill); return(VerifyImages.Verify(imageData, graphicsFormat)); }