예제 #1
0
 public async Task TestVersionSort(string preSortS, string postSortS)
 {
     string[]? preSort  = preSortS.Split(new[] { ',' });
     string[]? postSort = postSortS.Split(new[] { ',' });
     System.Collections.Generic.IEnumerable <string>?result = BaseProjectManager.SortVersions(preSort);
     Assert.IsTrue(result.SequenceEqual(postSort), $"Result {string.Join(',', result)} != {string.Join(',', postSort)}");
 }