예제 #1
0
 def test_compute_scores(self):
     for inter, score in zip(self.interactions, self.scores):
         self.assertEqual(score, iu.compute_scores(inter))
예제 #2
0
 def test_compute_scores(self):
     for inter, score in zip(self.interactions, self.scores):
         self.assertEqual(score, iu.compute_scores(inter))
예제 #3
0
파일: match.py 프로젝트: tscizzle/Axelrod
 def scores(self):
     """Returns the scores of the previous Match plays."""
     return iu.compute_scores(self.result, self.game)
예제 #4
0
파일: match.py 프로젝트: tscizzle/Axelrod
 def scores(self):
     """Returns the scores of the previous Match plays."""
     return iu.compute_scores(self.result, self.game)