Commits

Meikel Brandmeyer  committed 71e2634

For the average thing return constant generator

  • Participants
  • Parent commits 2158cdd

Comments (0)

Files changed (1)

File src/main/clojure/clojurecheck/core.clj

                       [(conj generators (.domain dval))
                        (conj values (.value dval))]))
                   [[] []] this)]
-      (DomainValue. generators values))))
+      (DomainValue. generators values)))
+
+  Object
+  (arbitrary [this size] (arbitrary (constantly this) size)))
 
 (deftype NumberDomain
   [random lower upper]