예제 #1
0
 def solve_constraints(self):
     return constraints.solve_constraints(self.config.constraints)
예제 #2
0
 def test_constraint_solving(self):
     for constraints, solution in self.cases:
         self.assertEqual(
             solve_constraints(constraints),
             solution)
예제 #3
0
 def test_constraint_solving(self):
     for constraints, solution in self.cases:
         self.assertEqual(solve_constraints(constraints), solution)
예제 #4
0
 def solve_constraints(self):
     return constraints.solve_constraints(self.config.constraints)