We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e350819 commit 9c19be4Copy full SHA for 9c19be4
axelrod/tests/unit/test_payoff.py
@@ -77,6 +77,8 @@ def setUpClass(cls):
77
def test_player_count(self):
78
nplayers = ap.player_count(self.interactions)
79
self.assertEqual(nplayers, 3)
80
+ nplayers = ap.player_count({'test': 'test'})
81
+ self.assertEqual(nplayers, 1)
82
83
def test_payoff_matrix(self):
84
payoff_matrix = ap.payoff_matrix(self.interactions, Game())
0 commit comments