def test_answer_question_correct(self, random): computer = Computer("test", "test", "test", "test", 40) answer = computer.answer_question({"correct": "testCorrect"}, ["testCorrect", "test", "3", "4"]) self.assertEqual(answer, "testCorrect")
def test_answer_question_incorrect(self, random): computer = Computer("test", "test", "test", "test", 40) answer = computer.answer_question({"correct": "testCorrect"}, ["testCorrect", "test", "3", "4"])