Skip to content

Commit 6faf04d

Browse files
Update dynamic_programming/Unbounded_0_1_Knapsack.cpp
Co-authored-by: realstealthninja <[email protected]>
1 parent 0cf4734 commit 6faf04d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

dynamic_programming/Unbounded_0_1_Knapsack.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,8 @@ int unboundedKnapsack(std::uint16_t N, std::uint16_t W,
9797
} // dynamic_programming
9898

9999
/**
100-
* @brief Function to run test cases for the unbounded knapsack implementation.
101-
*
102-
* @details This function tests the implementation with predefined test cases.
103-
* It asserts the expected outcomes to ensure correctness of the algorithm.
100+
* @brief self test implementation
101+
* @return void
104102
*/
105103
static void tests() {
106104
// Test Case 1

0 commit comments

Comments
 (0)