def test_reset_method(self):
        P1 = axelrod.HesitantQLearner()
        P1.Qs = {'': {C: 0, D: -0.9}, '0.0': {C: 0, D: 0}}
        P1.Vs = {'': 0, '0.0': 0}
        P1.history = [C, D, D, D]
        P1.prev_state = C
        P1.reset()
        self.assertEqual(P1.prev_state, '')
        self.assertEqual(P1.history, [])
        self.assertEqual(P1.Vs, {'': 0})
        self.assertEqual(P1.Qs, {'': {C: 0, D: 0}})
tests the reset method
dataset/ETHPy150Open Axelrod-Python/Axelrod/axelrod/tests/unit/test_qlearner.py/TestHesitantQLearner.test_reset_method