public Task AddVerticalSeparator()
        {
            var bill = SampleData.CreateExample1();

            bill.Format.SeparatorType = SeparatorType.None;
            using PDFCanvas canvas    =
                      new PDFCanvas(QRBill.A4PortraitWidth, QRBill.A4PortraitHeight);
            QRBill.Draw(bill, canvas);

            QRBill.DrawSeparators(SeparatorType.DashedLineWithScissors, false, canvas);

            MemoryStream ms = new MemoryStream();

            canvas.WriteTo(ms);

            return(VerifyImages.VerifyPdf(ms.ToArray()));
        }
        public void AddVerticalSeparator()
        {
            var bill = SampleData.CreateExample1();

            bill.Format.SeparatorType = SeparatorType.None;
            using (PDFCanvas canvas =
                       new PDFCanvas(QRBill.A4PortraitWidth, QRBill.A4PortraitHeight))
            {
                QRBill.Draw(bill, canvas);

                QRBill.DrawSeparators(SeparatorType.DashedLineWithScissors, false, canvas);

                MemoryStream ms = new MemoryStream();
                canvas.WriteTo(ms);

                FileComparison.AssertFileContentsEqual(ms.ToArray(), "a4bill_postproc2.pdf");
            }
        }