def test_split_words_empty(self): self.assertEquals(lipsum._split_words(""), [])
def test_split_words(self): self.assertEquals(lipsum._split_words("One two three four"), ["One", "two", "three", "four"]) self.assertEquals(lipsum._split_words(" One two three four "), ["One", "two", "three", "four"])