Skip to content

Commit

Permalink
Fix a broken test.
Browse files Browse the repository at this point in the history
  • Loading branch information
drvinceknight committed Jun 19, 2017
1 parent 320cde3 commit cb80558
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions axelrod/tests/strategies/test_axelrod_first.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def test_strategy(self):
seed=10)


class SteinAndRapoport(TestPlayer):
class TestSteinAndRapoport(TestPlayer):

name = "Stein and Rapoport: 0.05: ('D', 'D')"
player = axelrod.SteinAndRapoport
Expand All @@ -382,11 +382,11 @@ class SteinAndRapoport(TestPlayer):
def test_init(self):
player = self.player()
self.assertEqual(player.alpha, 0.05)
self.assertIsFalse(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 cb80558

Please sign in to comment.