def test_best_response_with_payoff_perturbation(self):
        """best_response with payoff_perturbation"""
        eq_(self.player.best_response([2/3, 1/3],
                                      payoff_perturbation=[0, 0.1]),
            1)
        eq_(self.player.best_response([2, 1],  # int
                                      payoff_perturbation=[0, 0.1]),
            1)
dataset/ETHPy150Open QuantEcon/QuantEcon.py/quantecon/game_theory/tests/test_normal_form_game.py/TestPlayer_1opponent.test_best_response_with_payoff_perturbation/original