예제 #1
0
        private void IdentifyFileType(string testPath, FileTypeEnum expectedType)
        {
            testPath = GetPath(testPath);

            var reader = new ExifReader();
            var file = reader.Open(testPath);

            Assert.True(file.FileType == expectedType);
        }
예제 #2
0
        private void IdentifyFileType(string testPath, FileTypeEnum expectedType)
        {
            testPath = GetPath(testPath);

            var reader = new ExifReader();
            var file   = reader.Open(testPath);

            Assert.True(file.FileType == expectedType);
        }