def test_splice_string(case, expected): assert _.splice(*case) == expected
def test_splice(case, expected, after): array = case[0] assert _.splice(*case) == expected assert array == after