mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-03 10:35:34 +08:00
Update backtracking/wildcard_matching.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
@@ -127,7 +127,7 @@ static void test() {
|
|||||||
assert(backtracking::wildcard_matching::wildcard_matching(matching4, pattern4, 0, 0) == 1); // here the pattern matches with given string
|
assert(backtracking::wildcard_matching::wildcard_matching(matching4, pattern4, 0, 0) == 1); // here the pattern matches with given string
|
||||||
std::cout << "passed" << std::endl;
|
std::cout << "passed" << std::endl;
|
||||||
|
|
||||||
// Test 5
|
// 5th test
|
||||||
std::cout << "5th test ";
|
std::cout << "5th test ";
|
||||||
std::string matching5 = "baaabab";
|
std::string matching5 = "baaabab";
|
||||||
std::string pattern5 = "aa?ab";
|
std::string pattern5 = "aa?ab";
|
||||||
|
|||||||
Reference in New Issue
Block a user