package scalacheck
- Source
- package.scala
- Alphabetic
- By Inheritance
- scalacheck
- RefTypeInstances
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait AnyInstances extends AnyRef
- trait BooleanInstances extends AnyRef
- trait CharInstances extends AnyRef
- trait GenericInstances extends AnyRef
- trait NumericInstances extends AnyRef
- trait RefTypeInstances extends AnyRef
- trait StringInstances extends AnyRef
Value Members
-
def
arbitraryRefType[F[_, _], T, P](gen: Gen[T])(implicit rt: RefType[F]): Arbitrary[F[T, P]]
- Definition Classes
- RefTypeInstances
-
def
checkArbitraryRefType[F[_, _], T, P](implicit arb: Arbitrary[F[T, P]], rt: RefType[F], v: Validate[T, P]): Prop
- Definition Classes
- RefTypeInstances
-
implicit
def
refTypeCogen[F[_, _], T, P](implicit arg0: Cogen[T], rt: RefType[F]): Cogen[F[T, P]]
- Definition Classes
- RefTypeInstances
- object all extends BooleanInstances with CharInstances with GenericInstances with NumericInstances with RefTypeInstances with StringInstances
-
object
any extends AnyInstances
Module that provides an
Arbitraryinstance for any refined typeF[T, P].Module that provides an
Arbitraryinstance for any refined typeF[T, P].This instance uses the
Arbitraryinstance of the base typeTand the correspondingValidate[T, P]instance of the refinement to filter out invalid values. For most refinements this will cause ScalaCheck to fail because this instance will discard too many values. -
object
boolean extends BooleanInstances
Module that provides
Arbitraryinstances for logical predicates. -
object
char extends CharInstances
Module that provides
Arbitraryinstances forCharrelated predicates. -
object
generic extends GenericInstances
Module that provides
Arbitraryinstances for generic predicates. -
object
numeric extends NumericInstances
Module that provides
Arbitraryinstances and generators for numeric predicates. - object reftype extends RefTypeInstances
-
object
string extends StringInstances
Module that provides
Arbitraryinstances forStringrelated predicates.