Skip to content

Commit a68f0e5

Browse files
Update dynamic_programming/Unbounded_knapsack.cpp
Co-authored-by: realstealthninja <[email protected]>
1 parent 8b9f0c5 commit a68f0e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dynamic_programming/Unbounded_knapsack.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ int unboundedKnapsack(std::uint16_t N, std::uint16_t W, const std::vector<std::u
6666
/**
6767
* @brief Function to run test cases for the unbounded knapsack implementation.
6868
*/
69-
void test_cases() {
69+
void tests() {
7070
std::uint16_t N = 4; // Number of items
7171
std::vector<std::uint16_t> wt = {1, 3, 4, 5}; // Weights of the items
7272
std::vector<std::uint16_t> val = {6, 1, 7, 7}; // Values of the items

0 commit comments

Comments
 (0)