Skip to content

Commit

Permalink
Update dynamic_programming/01knapsack_recursive.dart
Browse files Browse the repository at this point in the history
Co-authored-by: Parowicz <[email protected]>
  • Loading branch information
mohammadreza490 and Parowicz authored Feb 9, 2021
1 parent b005f87 commit 293ff2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dynamic_programming/01knapsack_recursive.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ void main() {
print(ans);

test('TC: 2', () {
expect(knapSackProblem(5, 100, [2, 70, 30, 69, 100], [1, 70, 30, 69, 100]),
101);
expect(
knapSackProblem(100, [2, 70, 30, 69, 100], [1, 70, 30, 69, 100]), 101);
});
}

0 comments on commit 293ff2d

Please sign in to comment.