Ejemplo n.º 1
0
        public virtual void CheckPdfHeaderTest()
        {
            RandomAccessSourceFactory factory = new RandomAccessSourceFactory();
            PdfTokenizer tok = new PdfTokenizer(new RandomAccessFileOrArray(factory.CreateBestSource(sourceFolder + "test.pdf"
                                                                                                     )));

            NUnit.Framework.Assert.AreEqual("PDF-1.7", tok.CheckPdfHeader());
        }