• (map key-gen val-gen)
    • (map key-gen val-gen opts)
    Create a generator that generates maps, with keys chosen from
      `key-gen` and values chosen from `val-gen`.
      If the key generator cannot or is unlikely to produce enough distinct
      elements, this generator will fail in the same way as `such-that`.
      Available options:
        :num-elements  the fixed size of generated maps
        :min-elements  the min size of generated maps
        :max-elements  the max size of generated maps
        :max-tries     the number of times the generator will be tried before
                       failing when it does not produce distinct elements
                       (default 10)
        :ex-fn         a function of one arg that will be called if test.check cannot
                       generate enough distinct keys; it will be passed a map with
                       `:gen` (the key-gen), `:num-elements`, and `:max-tries` and
                       should return an exception

    clojure.test.check.generators/map found in 25 defs, across 13 projects.

    Search for vars with similar names in all artifacts: map

    Search for map in the documentation of all artifacts.

    2 usages in
    test.check 0.10.0-alpha3
    A QuickCheck inspired property-based testing library
    1 usage in
    schema_gen 0.1.6
    Data generation from Prismatic schemas
    2 usages in
    hoplon-elem-lib 0.2.0
    Tiny element library for Hoplon.
    1 usage in
    validaze 1.2.0
    Hiccup-inspired DSL implementation of refinement types for validating JSON data.
    2 usages in
    inspectable 0.2.2
    Tools for clojure.spec
    1 usage in
    schema-gen 0.1.5
    Turn Prismatic schemas into generated data using test.check.
    1 usage in
    double-check 0.6.1
    A QuickCheck inspired property-based testing library.
    2 usages in
    herbert 0.7.0
    A schema for edn
    2 usages in
    pathom 2.0.4
    A Clojure library designed to provide a collection of helper functions to support
    1 usage in
    thrift-gen 0.2.0
    quickcheck generators for producing instances of Thrift schemas
    2 usages in
    pine 0.1.6
    A Clojure/ClojureScript router designed for universal applications.
    4 usages in
    lemonade 0.3.0
    High level language for graphical and UI programming. No markup.