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 c6f0f3a commit 86b64e1Copy full SHA for 86b64e1
tests/test_player.py
@@ -0,0 +1,10 @@
1
+from axelrod_fortran.strategies import all_strategies
2
+from axelrod_fortran.player import Player
3
+from ctypes import c_int
4
+
5
6
+def test_init():
7
+ for strategy in all_strategies:
8
+ player = Player(strategy)
9
+ assert player.original_name == strategy
10
+ assert player.original_function.restype == c_int
0 commit comments