def test_enclosed_string_simple(input, start, end, replacement, output): assert replace_enclosed_string(input, start, end, replacement) == output