 (ns og.clj-dstream.test-utils
   (:require [og.clj-dstream.core :as core]))
+
+(def TWO_PI (* 2 (Math/PI)))
 
 (defn cluster-count [state]
   (->> state

    [(+ x (first offsets)) (+ y (second offsets))]))


(defn sample-ring-arc-2d [theta-start theta-end r-inner r-outer & {:keys [offsets] :or {offsets [0.0 0.0]}}]
  "Random [x y] inside a ring centered
  about origin with minor/major radii
  and with degree range"

       (filter #(= label %))
       count))

(defn sample-ring-2d [r-inner r-outer
                      & {:keys [offsets] :or {offsets [0.0 0.0]}}]
  "Random [x y] inside a ring centered
  about origin with minor/major radii"
  (let [r     (+ r-inner
