A wrapper type for range types
Generator parameters, used by org.scalacheck.Gen.apply
Provides implicit org.scalacheck.Gen.Choose instances
Provides methods for creating org.scalacheck.Gen.Parameters values
Generates an alpha character
Generates a lower-case alpha character
Generates an alphanumerical character
Generates a string of alpha characters
Generates an upper-case alpha character
Generates a container of any Traversable type for which there exists an implicit org.scalacheck.util.Buildable instance.
Generates a container of any Traversable type for which there exists an implicit org.scalacheck.util.Buildable instance. The elements in the container will be generated by the given generator. The size of the container is bounded by the size parameter used when generating values.
Generates a container of any Traversable type for which there exists an implicit org.scalacheck.util.Buildable instance.
Generates a container of any Traversable type for which there exists an
implicit org.scalacheck.util.Buildable instance. The elements in the
container will be generated by the given generator. The size of the
generated container is limited by n
. Depending on what kind of container
that is generated, the resulting container may contain fewer elements than
n
, but not more. If the given generator fails generating a value, the
complete container generator will also fail.
A generator that generates a random value in the given (inclusive) range.
A generator that generates a random value in the given (inclusive) range. If the range is invalid, the generator will not generate any value.
Generates numbers within the given inclusive range, with extra weight on zero, +/- unity, both extremities, and any special numbers provided.
Generates numbers within the given inclusive range, with extra weight on zero, +/- unity, both extremities, and any special numbers provided. The special numbers must lie within the given range, otherwise they won't be included.
A generator that always generates the given value
A convenience method for calling buildableOf[C[T],T](g)
.
A convenience method for calling buildableOfN[C[T],T](n,g)
.
Wraps a generator for later evaluation.
Wraps a generator for later evaluation. The given parameter is evaluated each time the wrapper generator is evaluated.
A generator that never generates a value
Implicit convenience method for using the frequency
method
like this:
Implicit convenience method for using the frequency
method
like this:
frequency((1, "foo"), (3, "bar"))
Chooses one of the given generators with a weighted random distribution
A generator that fails if the provided option value is undefined, otherwise just returns the value.
Generates a string that starts with a lower-case alpha character, and only contains alphanumerical characters
Generates a list of random length.
Generates a list of random length. The maximum length depends on the
size parameter. This method is equal to calling
containerOf[List,T](g)
.
Generates a list of the given length.
Generates a list of the given length. This method is equal to calling
containerOfN[List,T](n,g)
.
Wraps a generator lazily.
Wraps a generator lazily. The given parameter is only evaluated once, and not until the wrapper generator is evaluated.
Generates a map of random length.
Generates a map of random length. The maximum length depends on the
size parameter. This method is equal to calling
containerOf[Map,T,U](g)
.
Generates a map of with at least the given number of elements.
Generates a map of with at least the given number of elements. This method
is equal to calling containerOfN[Map,T,U](n,g)
.
Generates negative numbers of uniform distribution, with an lower bound of the negated generation size parameter.
Generates a non-empty container of any Traversable type for which there exists an implicit org.scalacheck.util.Buildable instance.
Generates a non-empty container of any Traversable type for which there exists an implicit org.scalacheck.util.Buildable instance. The elements in the container will be generated by the given generator. The size of the container is bounded by the size parameter used when generating values.
A convenience method for calling nonEmptyBuildableOf[C[T],T](g)
.
Generates a non-empty list of random length.
Generates a non-empty list of random length. The maximum length depends
on the size parameter. This method is equal to calling
nonEmptyContainerOf[List,T](g)
.
Generates a non-empty map of random length.
Generates a non-empty map of random length. The maximum length depends
on the size parameter. This method is equal to calling
nonEmptyContainerOf[Map,T,U](g)
.
Generates a numerical character
Generates a string of digits
Picks a random generator from a list
Picks a random value from a list
Picks a random value from a list
Makes a generator result optional.
Makes a generator result optional. Either Some(T)
or None
will be provided.
Creates a generator that can access its generation parameters
A generator that picks a given number of elements from a list, randomly
A generator that picks a given number of elements from a list, randomly
Generates positive numbers of uniform distribution, with an upper bound of the generation size parameter.
Creates a resized version of a generator
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Takes a function and returns a generator that generates arbitrary results of that function by feeding it with arbitrarily generated input parameters.
Sequences generators.
Sequences generators. If any of the given generators fails, the resulting generator will also fail.
A generator that returns the current generation size
Creates a generator that can access its generation size
A generator that picks a random number of elements from a list
A generator that picks a random number of elements from a list
Generates a version 4 (random) UUID.
Wraps a generator for later evaluation.
Wraps a generator for later evaluation. The given parameter is evaluated each time the wrapper generator is evaluated. This method will be deprecated in favor of org.scalacheck.Gen.delay.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.
Combines the given generators into one generator that produces a tuple of their generated values.