File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ def test_clone(self, seed):
84
84
self .assertEqual (player2 .classifier , player1 .classifier )
85
85
self .assertEqual (player2 .match_attributes , player1 .match_attributes )
86
86
87
- turns = 10
87
+ turns = 5
88
88
for op in [
89
89
axl .Cooperator (),
90
90
axl .Defector (),
@@ -104,7 +104,7 @@ def test_update_histories(self):
104
104
105
105
@given (opponent_list = strategy_lists (max_size = 1 ))
106
106
@settings (
107
- max_examples = 5 ,
107
+ max_examples = 1 ,
108
108
deadline = None ,
109
109
suppress_health_check = (HealthCheck .differing_executors ,),
110
110
)
@@ -122,7 +122,7 @@ def test_players_return_valid_actions(self, opponent_list):
122
122
"""
123
123
player = self .player ()
124
124
opponent = opponent_list [0 ]()
125
- match = axl .Match (players = (player , opponent ))
125
+ match = axl .Match (players = (player , opponent ), turns = 10 )
126
126
interactions = match .play ()
127
127
player_actions = set (player_action for player_action , _ in interactions )
128
128
self .assertTrue (player_actions <= set ((C , D )))
You can’t perform that action at this time.
0 commit comments