Skip to content

Commit

Permalink
new reporting for distinct/dedupe/interpose transducers
Browse files Browse the repository at this point in the history
Signed-off-by: Stuart Halloway <[email protected]>
  • Loading branch information
MichaelBlume authored and stuarthalloway committed Feb 20, 2015
1 parent 3013b3c commit d00f7c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/clojure/test_clojure/transducers.clj
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@
(def gen-keep-indexed (fbind gen-indexedfn keep-indexed))
(def gen-map-indexed (fbind gen-indexedfn map-indexed))
(def gen-replace (fbind (literal (gen/return (hash-map (range 100) (range 1 100)))) replace))
(def gen-distinct (gen/return {:desc "distinct" :seq (partial distinct) :xf (distinct)}))
(def gen-dedupe (gen/return {:desc "dedupe" :seq (partial dedupe) :xf (dedupe)}))
(def gen-interpose (fbind gen/s-pos-int interpose))
(def gen-distinct (gen/return {:desc 'distinct :seq (partial distinct) :xf (distinct)}))
(def gen-dedupe (gen/return {:desc 'dedupe :seq (partial dedupe) :xf (dedupe)}))
(def gen-interpose (fbind (literal gen/s-pos-int) interpose))

(def gen-action
(gen/one-of [gen-take gen-drop gen-map gen-mapcat
Expand Down

0 comments on commit d00f7c2

Please sign in to comment.