Esempio n. 1
0
        public void IsSourceFolderExists_BadFolderPath_ReturnsFalse()
        {
            var edf    = new EdfFiles(@"Z:\-FOlderISNOTEXIST");
            var result = edf.GetFiles();

            Assert.False(result);
        }
Esempio n. 2
0
        public void IsSourceFolderExists_ExistedFolderPath_ReturnsTrue()
        {
            var edf    = new EdfFiles(Directory.GetCurrentDirectory());
            var result = edf.GetFiles();

            Assert.True(result);
            Assert.AreEqual(17, edf.FullListFiles.Count);
        }