Skip to content

Commit e69573a

Browse files
committed
One more test
1 parent f498515 commit e69573a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

test/test_combinatorica.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,11 @@ def test_combinatorica_permutations_1_2():
167167
"{{1}, {2}, {3}, {4}, {5}, {6}, {7}, {8}, {9}, {10}}",
168168
"ToCycles, 1.2.4, Page 21",
169169
),
170+
(
171+
"ToCycles[r = RotateLeft[Range[10],1]]",
172+
"{r}",
173+
"ToCycles with rotation by 1",
174+
),
170175
(
171176
"Select[ Permutations[Range[4]], (Length[ToCycles[#]] == 1)&]",
172177
"{{2, 3, 4, 1}, {2, 4, 1, 3}, {3, 1, 4, 2}, "

0 commit comments

Comments
 (0)