def test_8(self): solution_input = [1] expected = "1" result = solution_power_hungry.solution(solution_input) self.assertEqual(result, expected)
def test_1(self): solution_input = [2, 0, 2, 2, 0] expected = "8" result = solution_power_hungry.solution(solution_input) self.assertEqual(result, expected)
def test_2(self): solution_input = [-2, -3, 4, -5] expected = "60" result = solution_power_hungry.solution(solution_input) self.assertEqual(result, expected)