public void FileConverterDirNameTest()
        {
            FileConverter fc = new FileConverter(dirPath);

            Assert.IsTrue(fc.AnalyzeDirectory());
            Assert.AreEqual(dirPath, fc.GetInputDirectory());
        }
        public void FileConverterMp4Test()
        {
            FileConverter fc = new FileConverter(dirPath);

            Assert.IsTrue(fc.AnalyzeDirectory());
            VideoData vd = fc.GetFilesList();

            Assert.AreEqual(vd.FilesInDirectory[0], "File06.mp4");
        }
        public void FileConverterTxtTest()
        {
            FileConverter fc = new FileConverter(dirPath);

            fc.SetNewFileExt("txt");
            Assert.IsTrue(fc.AnalyzeDirectory());
            VideoData vd = fc.GetFilesList();
            int       i  = 1;

            foreach (string file in vd.FilesInDirectory)
            {
                string fileName = "File" + i.ToString("D2") + ".txt";
                i++;
                Assert.AreEqual(file, fileName);
            }
            fc.SetNewFileExt("avi");
            Assert.IsTrue(fc.AnalyzeDirectory());
            vd = fc.GetFilesList();
            Assert.AreEqual(vd.FilesInDirectory[0], "File05.avi");
        }