def test_ask_binary_question_with_N_returns_true(self): result = tictactoe.ask_binary_question(lambda: "N") self.assertEqual(result, False)
def test_ask_binary_question_with_invalid_returns_none(self): result = tictactoe.ask_binary_question(lambda: "m") self.assertIsNone(result)