ShrinkFractional

org.scalacheck.ShrinkFractional
final class ShrinkFractional[T](implicit ev: Fractional[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 closeToZero(x: T): Boolean

Attributes

Source
Shrink.scala
def isUnusual(x0: T): Boolean

Attributes

Source
Shrink.scala
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 small: T

Attributes

Source
Shrink.scala
val two: T

Attributes

Source
Shrink.scala