problemscpp
A collection of my answers to algorithm problems in c++.
| 函数
leetcode::rotate_string 命名空间参考

  1. Rotate String
更多...

class  Solution
 

函数

 TEST (rotate_string, case1)
 
 TEST (rotate_string, case2)
 

详细描述

  1. Rotate String

函数说明

◆ TEST() [1/2]

leetcode::rotate_string::TEST ( rotate_string  ,
case1   
)

在文件 leetcode_test.cpp2753 行定义.

2753 {
2754 ASSERT_TRUE(Solution::rotateString("abcde", "cdeab"));
2755 }

引用了 leetcode::rotate_string::Solution::rotateString().

◆ TEST() [2/2]

leetcode::rotate_string::TEST ( rotate_string  ,
case2   
)

在文件 leetcode_test.cpp2757 行定义.

2757 {
2758 ASSERT_FALSE(Solution::rotateString("abcde", "abced"));
2759 }

引用了 leetcode::rotate_string::Solution::rotateString().