def test_ranges(self): assert_equal([100, 4, 5, 6, 8, 10, 12, 13], spead2.parse_range_list('100,4-6,8,10-10,12-13'))
def test_empty(self): assert_equal([], spead2.parse_range_list(''))
def test_simple(self): assert_equal([1, 2, 5], spead2.parse_range_list('1,2,5'))
def test_ranges(self): assert spead2.parse_range_list('100,4-6,8,10-10,12-13') == [100, 4, 5, 6, 8, 10, 12, 13]
def test_simple(self): assert spead2.parse_range_list('1,2,5') == [1, 2, 5]
def test_empty(self): assert spead2.parse_range_list('') == []