def testLowercase(self): self.assertEqual(extractWords('asdf'), ['asdf'])
def testEmptyString(self): self.assertEqual(extractWords(''), [])
def testSpaces(self): self.assertEqual(extractWords('asdf qwer'), ['asdf', 'qwer']) self.assertEqual(extractWords('asdf qwer'), ['asdf', 'qwer']) self.assertEqual(extractWords("asdf\tqwer"), ['asdf', 'qwer'])
def testDigits(self): self.assertEqual(extractWords('1234'), []) self.assertEqual(extractWords('as12df'), ['asdf'])
def testUppercase(self): self.assertEqual(extractWords('ASDF'), ['asdf'])