Closed frenchy64 closed 4 weeks ago
I think this is a quirk of gen/double-gen*. Perhaps we could throw here or coerce the bounds to Double.
gen/double-gen*
(defn shrink [?schema] (-> (quick-check 1 (for-all [s (mg/generator ?schema)] false) {:seed 0}) :shrunk :smallest first)) ((juxt class identity) (shrink [:double {:min 3}])) ;=> [java.lang.Long 3]
I think this is a quirk of
gen/double-gen*
. Perhaps we could throw here or coerce the bounds to Double.