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

class  Solution
 

函数

 TEST (check_if_all_as_appears_before_all_bs, case1)
 
 TEST (check_if_all_as_appears_before_all_bs, case2)
 
 TEST (check_if_all_as_appears_before_all_bs, case3)
 

函数说明

◆ TEST() [1/3]

leetcode::check_if_all_as_appears_before_all_bs::TEST ( check_if_all_as_appears_before_all_bs  ,
case1   
)

在文件 leetcode_test.cpp241 行定义.

241 {
242 ASSERT_TRUE(Solution::checkString("aaabbb"));
243 }

引用了 leetcode::check_if_all_as_appears_before_all_bs::Solution::checkString().

◆ TEST() [2/3]

leetcode::check_if_all_as_appears_before_all_bs::TEST ( check_if_all_as_appears_before_all_bs  ,
case2   
)

在文件 leetcode_test.cpp245 行定义.

245 {
246 ASSERT_FALSE(Solution::checkString("abab"));
247 }

引用了 leetcode::check_if_all_as_appears_before_all_bs::Solution::checkString().

◆ TEST() [3/3]

leetcode::check_if_all_as_appears_before_all_bs::TEST ( check_if_all_as_appears_before_all_bs  ,
case3   
)

在文件 leetcode_test.cpp249 行定义.

249 {
250 ASSERT_TRUE(Solution::checkString("bbb"));
251 }

引用了 leetcode::check_if_all_as_appears_before_all_bs::Solution::checkString().