ShrinkIntegral

org.scalacheck.ShrinkIntegral
final class ShrinkIntegral[T](implicit ev: Integral[T]) extends Shrink[T]

Attributes

Source
Shrink.scala
Graph
Supertypes
class Shrink[T]
trait Serializable
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def shrink(x: T): Stream[T]

Attributes

Source
Shrink.scala

Inherited methods

def suchThat(f: T => Boolean): Shrink[T]

Create a new shrink that only produces values satisfying the given condition.

Create a new shrink that only produces values satisfying the given condition.

Attributes

Inherited from:
Shrink
Source
Shrink.scala

Concrete fields

val skipNegation: Boolean

Attributes

Source
Shrink.scala
val two: T

Attributes

Source
Shrink.scala