def test_split_string_on_punctuation(): input_string = 'hi, how are you doing? blabla' expected = ['hi', 'how are you doing', 'blabla'] assert split_string_on_punctuation(input_string) == expected input_string = ';String. with. punctuation characters!' expected = ['String', 'with', 'punctuation characters'] assert split_string_on_punctuation(input_string) == expected
def test_split_string_on_punctuation(): input_string = "hi, how are you doing? blabla" expected = ["hi", "how are you doing", "blabla"] assert split_string_on_punctuation(input_string) == expected input_string = ";String. with. punctuation characters!" expected = ["String", "with", "punctuation characters"] assert split_string_on_punctuation(input_string) == expected