public void Test1() { var solution = new LeetCode.P6.Solution(); var result = solution.Convert("PAYPALISHIRING", 3); Assert.Equal("PAHNAPLSIIGYIR", result); }
public void Test4() { var solution = new LeetCode.P6.Solution(); var result = solution.Convert("AB", 1); Assert.Equal("AB", result); }
public void Test7() { var solution = new LeetCode.P6.Solution(); var result = solution.Convert("ABCD", 2); Assert.Equal("ACBD", result); }
public void Test2() { var solution = new LeetCode.P6.Solution(); var result = solution.Convert("PAYPALISHIRING", 4); Assert.Equal("PINALSIGYAHRPI", result); }