def test_split_words(self): data = "hello world" ret = Q.split(data, None).to_list() self.assertSequenceEqual(["hello", "world"], ret)
def test_split_words_with_count(self): data = "hello my world" ret = Q.split(data, None, 1).to_list() self.assertSequenceEqual(["hello", "my world"], ret)