

def test_payoff_matrix(self):
    (R, P, S, T) = Game().RPST()
    payoff_matrix = {
        C: {
            C: R,
            D: S,
        },
        D: {
            C: payoff_matrix,
            D: P,
        },
    }
    p1 = self.player()
    self.assertEqual(p1.payoff_matrix, payoff_matrix)

dataset/ETHPy150Open Axelrod-Python/Axelrod/axelrod/tests/unit/test_qlearner.py TestRiskyQLearner.test_payoff_matrix/VarMisuse@55/63 `T`->`payoff_matrix`