예제 #1
0
 def test_vs(self):
     self.versus_test(axelrod.EvolvedLookerUp(), axelrod.Alternator(),
                      [C, C, D, D, D, D], [C, D, C, D, C, D])
예제 #2
0
 def test_vs(self):
     self.versus_test(axelrod.EvolvedLookerUp(), axelrod.Cooperator(),
                      [C] * 10, [C] * 10)
예제 #3
0
 def test_vs(self):
     outcomes = zip()
     self.versus_test(axelrod.EvolvedLookerUp(), axelrod.TitForTat(),
                      [C] * 10, [C] * 10)
예제 #4
0
 def test_vs(self):
     self.versus_test(axelrod.EvolvedLookerUp(), axelrod.Defector(),
                      [C, C, D], [D, D, D])