We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b9f0c5 commit a68f0e5Copy full SHA for a68f0e5
dynamic_programming/Unbounded_knapsack.cpp
@@ -66,7 +66,7 @@ int unboundedKnapsack(std::uint16_t N, std::uint16_t W, const std::vector<std::u
66
/**
67
* @brief Function to run test cases for the unbounded knapsack implementation.
68
*/
69
-void test_cases() {
+void tests() {
70
std::uint16_t N = 4; // Number of items
71
std::vector<std::uint16_t> wt = {1, 3, 4, 5}; // Weights of the items
72
std::vector<std::uint16_t> val = {6, 1, 7, 7}; // Values of the items
0 commit comments