Tuple2Trials

trait Tuple2Trials[+Case1, +Case2] extends TrialsScaffolding[(Case1, Case2)]
trait TrialsScaffolding[(Case1, Case2)]
trait TrialsFactoring[(Case1, Case2)]
class Object
trait Matchable
class Any
class Tuple2Trials[Case1, Case2]

Type members

Inherited classlikes

abstract class TrialException(cause: Throwable) extends RuntimeException
Inherited from:
TrialsFactoring

Types

override type SupplySyntaxType <: SupplyToSyntaxTuple2[Case1, Case2]

Value members

Abstract methods

def and[Case3](thirdTrials: Trials[Case3]): Tuple3Trials[Case1, Case2, Case3]

Inherited methods

def reproduce(recipe: String): (Case1, Case2)

Reproduce a specific case in a repeatable fashion, based on a recipe.

Reproduce a specific case in a repeatable fashion, based on a recipe.

Value parameters:
recipe

This encodes a specific case and will only be understood by the same value of trials instance that was used to obtain it.

Returns:

The specific Case denoted by the recipe.

Throws:
RuntimeException

if the recipe does not correspond to the receiver, either due to it being created by a different flavour of trials instance or subsequent code changes.

Inherited from:
TrialsFactoring
def trials: Trials[(Case1, Case2)]
Inherited from:
TrialsScaffolding
def withLimits(casesLimit: Int, complexityLimit: Int, shrinkageAttemptsLimit: Int, shrinkageStop: () => (Case1, Case2)): SupplySyntaxType
Inherited from:
TrialsScaffolding
def withRecipe(recipe: String): SupplySyntaxType
Inherited from:
TrialsScaffolding

Deprecated and Inherited methods

@deprecated("Use `withLimits` instead.")
def withLimit(limit: Int, complexityLimit: Int): SupplySyntaxType
Deprecated
Inherited from:
TrialsScaffolding
@deprecated("Use `withLimits` instead.")
def withLimit(limit: Int): SupplySyntaxType
Deprecated
Inherited from:
TrialsScaffolding