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