def test_split_sum_one(self): assert split.split_sum([1, 2, 3, 4], 1) == 10
def test_split_sum_painter_five(self): assert split.split_sum([1] * 9, 5) == 2
def test_split_sum_painter_equal(self): assert split.split_sum([1] * 12, 12) == 1
def test_split_sum_painter_three(self): assert split.split_sum([1] * 6, 3) == 2
def test_split_sum_sample(self): assert split.split_sum([5, 1, 2, 7, 3, 4], 3) == 8
def test_split_sum_all(self): assert split.split_sum([1, 2, 3, 4], 4) == 4
def test_split_sum_three(self): assert split.split_sum([1, 2, 3, 4], 3) == 4
def test_split_sum_two(self): assert split.split_sum([1, 2, 3, 4], 2) == 6