From 94d98014f0af30a1bb094a283d73a6582f492000 Mon Sep 17 00:00:00 2001 From: Juhana Laurinharju Date: Tue, 23 Oct 2012 22:22:05 +0300 Subject: [PATCH] fix --- test/recursion_test.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/recursion_test.clj b/test/recursion_test.clj index 461d0fa..55cf9c5 100644 --- a/test/recursion_test.clj +++ b/test/recursion_test.clj @@ -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"