Parameters

sealed abstract class Parameters extends Serializable

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

Companion:
object
Source:
Gen.scala
class Object
trait Matchable
class Any

Value members

Concrete methods

override def toString: String
Definition Classes
Any
Source:
Gen.scala
def useInitialSeed[A](seed: Seed)(f: (Parameters, Seed) => A): A
Source:
Gen.scala
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.

Source:
Gen.scala

Abstract fields

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.

Source:
Gen.scala

Concrete fields