Parameters

sealed abstract class Parameters extends Serializable

Generator parameters, used by org.scalacheck.Gen.apply

Generator parameters, used by org.scalacheck.Gen.apply

Companion
object
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

override def toString: String
Definition Classes
Any
def useInitialSeed[A](seed: Seed)(f: (Parameters, Seed) => A): A
def withInitialSeed(o: Option[Seed]): Parameters
def withSize(size: Int): Parameters

Create a copy of this Gen.Parameters instance with Gen.Parameters.size set to the specified value.

Create a copy of this Gen.Parameters instance with Gen.Parameters.size set to the specified value.

Abstract fields

val initialSeed: Option[Seed]
val size: Int

The size of the generated value. Generator implementations are allowed to freely interpret (or ignore) this value. During test execution, the value of this parameter is controlled by Test.Parameters.minSize and Test.Parameters.maxSize.

The size of the generated value. Generator implementations are allowed to freely interpret (or ignore) this value. During test execution, the value of this parameter is controlled by Test.Parameters.minSize and Test.Parameters.maxSize.

Concrete fields

val useLegacyShrinking: Boolean