예제 #1
0
 public void Example1()
 {
     Assert.Equal(new List <string> {
         "a"
     }, Permutations.SinglePermutations("a").OrderBy(x => x).ToList());
 }
예제 #2
0
 public void Example3()
 {
     Assert.Equal(new List <string> {
         "aabb", "abab", "abba", "baab", "baba", "bbaa"
     }, Permutations.SinglePermutations("aabb").OrderBy(x => x).ToList());
 }