def test_loadWords2(self): s = hangman.loadWords() expected = "a" actual = s[0] self.assertEqual(expected, actual, "First word is the same")
def test_loadWords3(self): s = hangman.loadWords() expected = 55909 actual = len(s) self.assertEqual(expected, actual, "All the words were imported")
def test_loadWords(self): s = hangman.loadWords() self.assertTrue(len(s) > 0, "The file was loaded into a list of words")