Skip to content

Commit 8aa18b7

Browse files
committed
[#36] Simplify test code
1 parent 122b4ef commit 8aa18b7

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

tests/test_strategies.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,4 @@ def test_original_rank():
77
for details in characteristics.values()
88
if details['original_rank'] is not None]
99

10-
assert len(ranks) == 63
11-
12-
# Test that are no duplicates in the rank values
13-
assert len(ranks) == len(set(ranks))
14-
15-
# There were 63 strategies in the second tournament and so every integer
16-
# between 1 and 63 inclusive should appear in the ranks list. Those values
17-
# sum to 2016.
18-
assert sum(ranks) == 2016
10+
assert sorted(ranks) = list(range(1, 63 + 1))

0 commit comments

Comments
 (0)