             [clojure.test.check.clojure-test :refer [defspec]]
             [clojure.test.check.generators :as gen]
             [clojure.test.check.properties :as prop]
-            [collection-check :refer [assert-map-like]])
+            [collection-check :as cc])
   (:import (clojure.lang MapEntry)
            (java.util Comparator)))
 

    (satisfies-invariant? m)))


(defspec check-contains? 100
  (prop/for-all [m (gen/map igen igen)
                 k igen]



(deftest collection-check
  (is (cc/assert-map-like 1000
                          (psq/psqueue)
                          igen igen {:ordered? true :base (sorted-map)})))


(deftest collection-check-by
  (is (cc/assert-map-like 1000
                          (psq/psqueue-by > >)
                          igen igen {:ordered? true :base (sorted-map-by >)})))


(def psqgen
