Skip to content

Commit 2bf4bb6

Browse files
tests: resolve todo
1 parent 2fc2c51 commit 2bf4bb6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/test_action.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,9 @@ def test_action_pperm(right_actions):
277277
x = PPerm([], [], 16)
278278
assert x in right
279279
assert right.position(x) == 43748
280+
assert len(right) == 65536
281+
282+
# Check that adding an existing element as a seed does nothing
280283
right.add_seed(
281284
PPerm(
282285
[],
@@ -285,9 +288,7 @@ def test_action_pperm(right_actions):
285288
)
286289
)
287290

288-
# TODO(0) adding another seed that's already in the action should maybe not
289-
# increase the size by 1
290-
assert len(right) == 65537
291+
assert len(right) == 65536
291292

292293

293294
def test_action_pperm2():

0 commit comments

Comments
 (0)