Choose

org.scalacheck.Gen.Choose
See theChoose companion object
trait Choose[T] extends Serializable

A wrapper type for range types

Attributes

Companion
object
Source
Gen.scala
Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def choose(min: T, max: T): Gen[T]

Creates a generator that returns a value in the given inclusive range

Creates a generator that returns a value in the given inclusive range

Attributes

Source
Gen.scala