We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d2c59c commit ea0f33eCopy full SHA for ea0f33e
axelrod/tests/integration/test_names.py
@@ -0,0 +1,13 @@
1
+import unittest
2
+from axelrod import all_strategies
3
+
4
5
+class TestNames(unittest.TestCase):
6
7
+ def test_all_strategies_have_names(self):
8
+ names = [s.name for s in all_strategies if s.name is not None]
9
+ self.assertEqual(len(names), len(all_strategies))
10
11
+ def test_all_names_are_unique(self):
12
+ names = set(s.name for s in all_strategies if s.name)
13
0 commit comments