mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
Update dynamic_programming/partition_problem.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
parent
d830017be3
commit
a152bf7510
@ -84,7 +84,7 @@ bool findPartiion(const std::vector<uint64_t> &arr, uint64_t size) {
|
|||||||
* @brief Self-test implementations
|
* @brief Self-test implementations
|
||||||
* @returns void
|
* @returns void
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
void test() {
|
static void test() {
|
||||||
std::vector<uint64_t> arr = {{1, 3, 3, 2, 3, 2}};
|
std::vector<uint64_t> arr = {{1, 3, 3, 2, 3, 2}};
|
||||||
uint64_t n = arr.size();
|
uint64_t n = arr.size();
|
||||||
bool expected_result = true;
|
bool expected_result = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user