diff --git a/tests/combinatorics/test_combinatorics.py b/tests/combinatorics/test_combinatorics.py index 77b4a42..1fd3e54 100644 --- a/tests/combinatorics/test_combinatorics.py +++ b/tests/combinatorics/test_combinatorics.py @@ -1,12 +1,10 @@ from pyrival.combinatorics import combinatorics def test_catalan_recursive(catalan): - assert all(combinatorics.catalan_recursive(i) == j for i, j in enumerate(A)) - + assert all(combinatorics.catalan_recursive(i) == j for i, j in enumerate(catalan)) def test_derangements(derangements): - assert all(combinatorics.derangements(i) == j for i, j in enumerate(A)) - + assert all(combinatorics.derangements(i) == j for i, j in enumerate(derangements)) def test_catalan(catalan): - assert all(combinatorics.catalan(i) == j for i, j in enumerate(A)) + assert all(combinatorics.catalan(i) == j for i, j in enumerate(catalan))