def METHOD_NAME(self):
    """tests expand_thru"""
    values1 = expand_thru_case_control(['include 14,15, include 18 thru 24'])
    assert values1 == [14, 15, 18, 19, 20, 21, 22, 23, 24], values1
    values1 = expand_thru_case_control(['include 10 thru 17 except 14 thru 15, include 43 thru 45'])
    assert values1 == [10, 11, 12, 13, 16, 17, 43, 44, 45], values1
    values1 = expand_thru_case_control(['1', '2', '21', 'THRU', '25', '31', 'THRU', '37'])
    values2 = expand_thru_case_control(['1', '2', '21', 'THRU', '25', '31', 'THRU', '37 '])
    values3 = expand_thru_case_control([1, 2, 21, 'THRU', 25, 31, 'THRU', 37])
    assert values1 == [1, 2, 21, 22, 23, 24, 25, 31, 32, 33, 34, 35, 36, 37], values1
    assert values2 == [1, 2, 21, 22, 23, 24, 25, 31, 32, 33, 34, 35, 36, 37], values2
    assert values3 == [1, 2, 21, 22, 23, 24, 25, 31, 32, 33, 34, 35, 36, 37], values3
    values1 = expand_thru_case_control(['1 , 9 THRU 12 , 1040'])
    values2 = expand_thru_case_control(['1 , 9 THRU 12 , 1040'])
    assert values1 == [1, 9, 10, 11, 12, 1040], values1
    assert values2 == [1, 9, 10, 11, 12, 1040], values2
    values1 = expand_thru(['1', 'THRU', '10'])
    values2 = expand_thru_case_control(['1', 'THRU', '10'])
    values3 = expand_thru_case_control(['1 THRU 10'])
    values4 = expand_thru_case_control(['1 THRU 10 '])
    assert values1 == [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], values1
    assert values2 == [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], values2
    assert values3 == [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], values3
    assert values4 == [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], values4
    values1 = expand_thru(['1', 'thru', '10'])
    values2 = expand_thru_case_control(['1', 'thru', '10'])
    values3 = expand_thru_case_control(['1 thru 10'])
    values4 = expand_thru_case_control(['1, thru, 10'])
    assert values1 == [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], values1
    assert values2 == [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], values2
    assert values3 == [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], values3
    assert values4 == [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], values4
    values1 = expand_thru([1, 2, 3, 4, 5])
    values2 = expand_thru_case_control([1, 2, 3, 4, 5])
    values3 = expand_thru_case_control(['1, 2, 3, 4, 5'])
    values4 = expand_thru_case_control(['1 2 3 4 5'])
    values5 = expand_thru_case_control(['1 2 3 4 5 '])
    assert values1 == [1, 2, 3, 4, 5], values1
    assert values2 == [1, 2, 3, 4, 5], values2
    assert values3 == [1, 2, 3, 4, 5], values3
    assert values4 == [1, 2, 3, 4, 5], values4
    assert values5 == [1, 2, 3, 4, 5], values5
    values1 = expand_thru_by(['1', 'THRU', '10', 'BY', 2])
    values2 = expand_thru_case_control(['1', 'THRU', '10', 'BY', 2])
    values3 = expand_thru_case_control(['1 THRU 10 BY 2'])
    values4 = expand_thru_case_control(['1 THRU 10 BY 2 '])
    assert values1 == [1, 3, 5, 7, 9, 10], values1
    assert values2 == [1, 3, 5, 7, 9, 10], values2
    assert values3 == [1, 3, 5, 7, 9, 10], values3
    assert values4 == [1, 3, 5, 7, 9, 10], values4
    values1 = expand_thru_by(['1', 'thru', '10', 'by', 2])
    values2 = expand_thru_case_control(['1', 'thru', '10', 'by', 2])
    values3 = expand_thru_case_control(['1 thru 10 by 2'])
    values4 = expand_thru_case_control(['1 thru 10, by, 2,'])
    assert values1 == [1, 3, 5, 7, 9, 10], values1
    assert values2 == [1, 3, 5, 7, 9, 10], values2
    assert values3 == [1, 3, 5, 7, 9, 10], values3
    assert values4 == [1, 3, 5, 7, 9, 10], values4
    values1 = expand_thru_by([1, 2, 3, 4, 5])
    values2 = expand_thru_case_control([1, 2, 3, 4, 5])
    assert values1 == [1, 2, 3, 4, 5], values1
    assert values2 == [1, 2, 3, 4, 5], values2
    values1 = expand_thru_case_control(['1,5,THRU,11,EXCEPT,7,8,13'])
    values2 = expand_thru_case_control([1, 5, 'THRU', 11, 'EXCEPT', 7, 8, 13])
    assert values1 == [1, 5, 6, 9, 10, 11, 13], values1
    assert values2 == [1, 5, 6, 9, 10, 11, 13], values2