ShrinkIntegral

final class ShrinkIntegral[T](ev: Integral[T]) extends Shrink[T]
class Shrink[T]
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

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

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.

Inherited from
Shrink

Concrete fields

val skipNegation: Boolean
val two: T