Skip to content

Commit

Permalink
renaming dup tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Bradford Cross committed Feb 19, 2010
1 parent b1c1bee commit 0631158
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/cascading/clojure/buffer_test.clj
Expand Up @@ -19,7 +19,7 @@
next-tuple))]
[(reduce maxer (c/tuple-seq it))]))

(deftest buffer-test
(deftest buffer-max-for-each-group
(test-flow
(in-pipes ["word" "subcount"])
(in-tuples [["bar" 1] ["bat" 7] ["bar" 3] ["bar" 2] ["bat" 4]])
Expand All @@ -44,7 +44,7 @@
(flatten (cons x biggest)))]
pairs))

(deftest buffer-test
(deftest buffer-max-and-pair
(test-flow
(in-pipes ["word" "subcount"])
(in-tuples [["bar" 1] ["bat" 7] ["bar" 3] ["bar" 2] ["bat" 4]])
Expand All @@ -53,5 +53,6 @@

(c/buffer [["word1" "subcount1" "maxword" "maxsubcount"]
#'maxpairs])))
[["bar" 1 "bar" 3] ["bar" 2 "bar" 3]
[["bar" 1 "bar" 3]
["bar" 2 "bar" 3]
["bat" 4 "bat" 7]]))

0 comments on commit 0631158

Please sign in to comment.