def test_chunks():
    '\n    test for chunks\n    '
    input_list = list(range(113))
    output_list = []
    for nums in chunks(input_list):
        output_list += nums
    assert (output_list == input_list)
    output_list = []
    for nums in chunks(input_list, chunk_size=1):
        output_list += nums
    assert (output_list == input_list)
    output_list = []
    for nums in chunks(input_list, chunk_size=124):
        output_list += nums
    assert (output_list == input_list)
test for chunks
def test_chunks():
    '\n    \n    '
    input_list = list(range(113))
    output_list = []
    for nums in chunks(input_list):
        output_list += nums
    assert (output_list == input_list)
    output_list = []
    for nums in chunks(input_list, chunk_size=1):
        output_list += nums
    assert (output_list == input_list)
    output_list = []
    for nums in chunks(input_list, chunk_size=124):
        output_list += nums
    assert (output_list == input_list)