Skip to content

Commit

Permalink
Fix test for Stein and Rapoport
Browse files Browse the repository at this point in the history
  • Loading branch information
marcharper committed Jun 18, 2017
1 parent cd88358 commit 46cbae8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions axelrod/tests/strategies/test_axelrod_first.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,11 +382,11 @@ class SteinAndRapoport(TestPlayer):
def test_init(self):
player = self.player()
self.assertEqual(player.alpha, 0.05)
self.assertIsNone(player.opponent_is_random)
self.assertFalse(player.opponent_is_random)

player = self.player(alpha=.5)
self.assertEqual(player.alpha, 0.5)
self.assertIsFalse(player.opponent_is_random)
self.assertFalse(player.opponent_is_random)

def test_strategy(self):
# Our Player (SteinAndRapoport) vs Cooperator
Expand Down

0 comments on commit 46cbae8

Please sign in to comment.