def test_min_conflicts(self): result = min_conflicts(self.problem) c = _count_conflicts(self.problem, result) self.assertEqual(c, 0)
def test_min_conflicts(self): result = min_conflicts(self.problem) self.assertEqual(result, {'A':2, 'B': 3, 'C': 1})
def test_min_conflicts(self): result = min_conflicts(self.problem) self.assertEqual(result, {'A': 2, 'B': 3, 'C': 1})