Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions exercises/practice/book-store/tests/book-store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,19 @@ fn test_two_groups_of_four_is_cheaper_than_group_of_five_plus_group_of_three() {
);
}

#[test]
#[ignore]
/// Two groups of four is cheaper than groups of five and three
fn test_two_groups_of_four_is_cheaper_than_groups_of_five_and_three() {
process_total_case(
(
vec![1, 1, 2, 3, 4, 4, 5, 5],
vec![vec![1, 2, 4, 5], vec![1, 3, 4, 5]],
),
5_120,
);
}

#[test]
#[ignore]
/// Group of four plus group of two is cheaper than two groups of three
Expand Down