Update dynamic_programming/partition_problem.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
Lajat5 2021-11-09 23:09:56 +05:30 committed by GitHub
parent d830017be3
commit a152bf7510
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,7 @@ bool findPartiion(const std::vector<uint64_t> &arr, uint64_t size) {
* @brief Self-test implementations
* @returns void
*******************************************************************************/
void test() {
static void test() {
std::vector<uint64_t> arr = {{1, 3, 3, 2, 3, 2}};
uint64_t n = arr.size();
bool expected_result = true;