Maybe it is better to check if the value equals 0 in the one_item_too_heavy
test instead of expecting a predicate fail. Now it is needed to add a specific check for cases where there are only too heavy items and then fail a predicate.
Maybe it is better to check if the value equals 0 in the one_item_too_heavy
test instead of expecting a predicate fail. Now it is needed to add a specific check for cases where there are only too heavy items and then fail a predicate.