pub fn check_solutions(solutions: &[Solution]) -> Result<(), InvalidSolution>
Validate the solution set’s slice of Solutions.
Solution