ShrinkFractional

final class ShrinkFractional[T](implicit ev: Fractional[T]) extends Shrink[T]
class Shrink[T]
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

def isUnusual(x0: T): Boolean
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
Source:
Shrink.scala

Concrete fields

val small: T
val two: T