예제 #1
0
def test_split_one_integer():
	assert split("i0e") == ["i0e"]
예제 #2
0
def test_empty_string():
	assert split("") == []
예제 #3
0
def test_split_list_string():
	assert split("lle4:spame") == ["le4:spam"]
예제 #4
0
def test_split_multiple_nested_lists():
	assert split("llllleeeee") == ["lllleeee"]
예제 #5
0
def test_split_list():
	assert split("llee") == ["le"]
예제 #6
0
def test_split_two_strings():
	assert split("4:spam4:spam") == ["4:spam", "4:spam"]