Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Fingerzam committed Oct 23, 2012
1 parent 52b19cf commit 94d9801
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/recursion_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,10 @@
(split-into-monotonics [0 5 4 7 1 3]) => '((0 5) (4 7) (1 3)))

(facts "permutations"
(permutations []) => [[]]
(permutations []) => [empty?]
(count (permutations (range 5))) => 120
(permutations [1 5 3])
=> (just [[1 5 3] [5 1 3] [5 3 1] [1 3 5] [3 1 5] [3 5 1]]
=> (just [1 5 3] [5 1 3] [5 3 1] [1 3 5] [3 1 5] [3 5 1]
:in-any-order))

(facts "powerset"
Expand Down

0 comments on commit 94d9801

Please sign in to comment.