@@ -76,27 +76,28 @@ TEST_CASE(
7676 REQUIRE (book_store::total (
7777 {1 , 1 , 2 , 2 , 3 , 3 , 4 , 5 , 1 , 1 , 2 , 2 , 3 , 3 , 4 , 5 }) == 10240 );
7878}
79-
79+ // clang-format off
8080TEST_CASE (
81- " Check_that_groups_of_four_are_created_properly_even_when_there_are_more_"
82- " groups_of_three_than_groups_of_five" ,
81+ " Check_that_groups_of_four_are_created_properly_even_when_there_are_more_groups_of_three_than_groups_of_five" ,
8382 " [5260ddde-2703-4915-b45a-e54dbbac4303]" ) {
8483 REQUIRE (book_store::total ({1 , 1 , 1 , 1 , 1 , 1 , 2 , 2 , 2 , 2 , 2 ,
8584 2 , 3 , 3 , 3 , 3 , 3 , 3 , 4 , 4 , 5 , 5 }) == 14560 );
8685}
86+ // clang-format on
8787
8888TEST_CASE (
8989 " One_group_of_one_and_four_is_cheaper_than_one_group_of_two_and_three" ,
9090 " [b0478278-c551-4747-b0fc-7e0be3158b1f]" ) {
9191 REQUIRE (book_store::total ({1 , 1 , 2 , 3 , 4 }) == 3360 );
9292}
9393
94+ // clang-format off
9495TEST_CASE (
95- " One_group_of_one_and_two_plus_three_groups_of_four_is_cheaper_than_one_"
96- " group_of_each_size" ,
96+ " One_group_of_one_and_two_plus_three_groups_of_four_is_cheaper_than_one_group_of_each_size" ,
9797 " [cf868453-6484-4ae1-9dfc-f8ee85bbde01]" ) {
9898 REQUIRE (book_store::total ({1 , 2 , 2 , 3 , 3 , 3 , 4 , 4 , 4 , 4 , 5 , 5 , 5 , 5 , 5 }) ==
9999 10000 );
100100}
101+ // clang-format on
101102
102103#endif
0 commit comments