Parameters

org.scalacheck.Gen.Parameters
See theParameters companion object
sealed abstract class Parameters extends Serializable

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

Attributes

Companion
object
Source
Gen.scala
Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

Attributes

Source
Gen.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
Gen.scala
def useInitialSeed[A](seed: Seed)(f: (Parameters, Seed) => A): A

Attributes

Source
Gen.scala

Attributes

Source
Gen.scala

Attributes

Source
Gen.scala

Attributes

Source
Gen.scala

Attributes

Source
Gen.scala

Attributes

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.

Attributes

Source
Gen.scala

Abstract fields

Attributes

Source
Gen.scala
val size: Int

The size of the generated value.

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.

Attributes

Source
Gen.scala

Concrete fields

Attributes

Source
Gen.scala