def solve_constraints(self): return constraints.solve_constraints(self.config.constraints)
def test_constraint_solving(self): for constraints, solution in self.cases: self.assertEqual( solve_constraints(constraints), solution)
def test_constraint_solving(self): for constraints, solution in self.cases: self.assertEqual(solve_constraints(constraints), solution)