コード例 #1
0
        public void RotateString_1()
        {
            var solution = new _0796_RotateString();
            var result   = solution.RotateString("abcde", "cdeab");

            Assert.IsTrue(result);
        }
コード例 #2
0
        public void RotateString_2()
        {
            var solution = new _0796_RotateString();
            var result   = solution.RotateString("abcde", "abced");

            Assert.IsFalse(result);
        }