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