コード例 #1
0
        public async Task CheckForExistingFiles()
        {
            var outputDirectory = Path.GetDirectoryName(_filePath);
            var actual          = -1;
            var expected        = 0;

            var files = await FileService.CheckForExistingFiles(_filePath, outputDirectory);

            files.ForEach(x => Console.WriteLine($"Existing file: {x}"));

            actual = files.Count();

            Assert.AreEqual(expected, actual);
        }