def METHOD_NAME(self) -> None:
    """
    Compare the lists of words.
    """
    words = []
    for line in self.output:
        words.extend(line.split())
    # Using assertEqual here prints out some
    # rather too long lists.
    self.assertTrue(self.sampleSplitText == words)