def test_break_up(): for i in range(2, 105): assert reduce(lambda a, b: a + b, _break_up(list(range(100)), i), []) == list(range(100))
def test_break_up(): for i in range(2,105): assert reduce(lambda a,b: a+b, _break_up(list(range(100)), i), []) == list(range(100))