예제 #1
0
        public void PptxTest()
        {
            var checker   = new FileChecker();
            var fileTypes = checker.GetFileTypes(Resources._2010_pptx);

            Assert.AreEqual(".pptx", fileTypes.FirstOrDefault().Extension);
        }
예제 #2
0
        public void DocxTest()
        {
            var checker   = new FileChecker();
            var fileTypes = checker.GetFileTypes(Resources.v12_docx);

            Assert.AreEqual(".docx", fileTypes.FirstOrDefault().Extension);
        }