Exemple #1
0
 protected void ArchiveGetParts(IEnumerable <string> testArchives)
 {
     string[] arcs  = testArchives.Select(a => Path.Combine(TEST_ARCHIVES_PATH, a)).ToArray();
     string[] found = ArchiveFactory.GetFileParts(arcs[0]).ToArray();
     Assert.Equal(arcs.Length, found.Length);
     for (int i = 0; i < arcs.Length; i++)
     {
         Assert.Equal(arcs[i], found[i]);
     }
 }