diff --git a/exercises/practice/book-store/tests/book-store.rs b/exercises/practice/book-store/tests/book-store.rs index e959453b5..28eacf0a4 100644 --- a/exercises/practice/book-store/tests/book-store.rs +++ b/exercises/practice/book-store/tests/book-store.rs @@ -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