def test_prob4_case_3(self): result = prob4.solution(3, [1, 4, 19]) self.assertEqual(result, 4)
def test_prob4_case_2(self): result = prob4.solution(4, [1, 3, 7, 10]) self.assertEqual(result, 6)
def test_prob4_case_2(self): result = prob4.solution(5, [1, 1, 2, 3, 4], { '1': ['2', '3', '4', '5'] }) self.assertEqual(result, '5 5')
def test_prob4_case_3(self): result = prob4.solution(6, [1, 1, 1, 1, 1, 1], { '1': ['2', '3', '4'], '3': ['5', '6'] }) self.assertEqual(result, '6 3')
def test_prob4_case_1(self): result = prob4.solution(4, [2, 1, 2, 2], { '1': ['2', '3'], '2': ['4'] }) self.assertEqual(result, '4 5')