File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ Running an instance of Axelrod's second tournament:
3838 >> > import axelrod as axl
3939 >> > players = [axlf.Player(name) for name in axlf.second_tournament_strategies]
4040 >> > print (len (players), " players" )
41- 62 players
41+ 63 players
4242 >> > tournament = axl.Tournament(players, repetitions = 1 , turns = 200 )
4343 >> > results = tournament.play()
4444 >> > results.write_summary(' summary.csv' )
Original file line number Diff line number Diff line change 225225 'axelrod-python_class' : None ,
226226 'stochastic' : False ,
227227 'author' : 'Edward Friedland' ,
228- 'original_rank' : None },
228+ 'original_rank' : 61 },
229229 'k74rxx' : {
230230 'axelrod-python_class' : None ,
231231 'stochastic' : False ,
Original file line number Diff line number Diff line change 1+ from axelrod_fortran import characteristics
2+
3+
4+ def test_original_rank ():
5+ ranks = [
6+ details ['original_rank' ]
7+ for details in characteristics .values ()
8+ if details ['original_rank' ] is not None ]
9+
10+ assert sorted (ranks ) = list (range (1 , 63 + 1 ))
You can’t perform that action at this time.
0 commit comments