Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.7-rc-1, 1.6.7
-
None
-
None
Description
The following assertion should be true:
def items = [1, 2, 3]
assert items.permutations() == [[1, 2, 3], [1, 3, 2], [2, 1, 3], [2, 3, 1], [3, 1, 2], [3, 2, 1]] as Set