コード例 #1
0
        public void TestRecursive()
        {
            var mutations = new PermutaionRecursion();
            var res       = mutations.GenerateRecursive("ABC");

            Assert.IsTrue(res.First() == "ABC");
            Assert.IsTrue(res.Last() == "CAB");
        }
コード例 #2
0
 public void GenerateRecursiveMutations()
 {
     var mutations = new PermutaionRecursion();
     var res       = mutations.GenerateRecursive("ABC");
 }