org
.
specs2
.
scalacheck
ScalaCheckFunction2
case class
ScalaCheckFunction2
[
T1
,
T2
,
R
]
(
execute: (
T1
,
T2
) ⇒
R
,
argInstances1:
ScalaCheckArgInstances
[
T1
]
,
argInstances2:
ScalaCheckArgInstances
[
T2
]
,
prettyFreqMap: (
FreqMap
[
Set
[
Any
]]) ⇒
Pretty
,
asResult:
AsResult
[
R
]
,
context:
Option
[
Context
]
,
parameters:
Parameters
)
extends
ScalaCheckFunction
with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
ScalaCheckFunction
,
ScalaCheckProperty
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
ScalaCheckFunction2
Serializable
Serializable
Product
Equals
ScalaCheckFunction
ScalaCheckProperty
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
ScalaCheckFunction2
(
execute: (
T1
,
T2
) ⇒
R
,
argInstances1:
ScalaCheckArgInstances
[
T1
]
,
argInstances2:
ScalaCheckArgInstances
[
T2
]
,
prettyFreqMap: (
FreqMap
[
Set
[
Any
]]) ⇒
Pretty
,
asResult:
AsResult
[
R
]
,
context:
Option
[
Context
]
,
parameters:
Parameters
)
Type Members
type
SelfType
=
ScalaCheckFunction2
[
T1
,
T2
,
R
]
Definition Classes
ScalaCheckFunction2
→
ScalaCheckProperty
Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
def
after
(
action: ⇒
Any
)
:
SelfType
Definition Classes
ScalaCheckFunction
val
argInstances1
:
ScalaCheckArgInstances
[
T1
]
val
argInstances2
:
ScalaCheckArgInstances
[
T2
]
def
around
(
action: (
Result
) ⇒
Result
)
:
SelfType
Definition Classes
ScalaCheckFunction
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
val
asResult
:
AsResult
[
R
]
def
before
(
action: ⇒
Any
)
:
SelfType
Definition Classes
ScalaCheckFunction
def
beforeAfter
(
beforeAction: ⇒
Any
,
afterAction: ⇒
Any
)
:
SelfType
Definition Classes
ScalaCheckFunction
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
collect1
:
SelfType
def
collect2
:
SelfType
def
collectAll
:
SelfType
def
collectAllArgs
(
f1: (
T1
) ⇒
Any
,
f2: (
T2
) ⇒
Any
)
:
SelfType
def
collectArg1
(
f: (
T1
) ⇒
Any
)
:
SelfType
def
collectArg2
(
f: (
T2
) ⇒
Any
)
:
SelfType
val
context
:
Option
[
Context
]
Definition Classes
ScalaCheckFunction2
→
ScalaCheckFunction
def
display
(
minTestsOk:
Int
=
parameters.minTestsOk
,
minSize:
Int
=
parameters.minSize
,
maxDiscardRatio:
Float
=
parameters.maxDiscardRatio
,
maxSize:
Int
=
parameters.maxSize
,
workers:
Int
=
parameters.workers
,
rng:
Random
=
parameters.rng
,
callback:
TestCallback
=
parameters.testCallback
,
loader:
Option
[
ClassLoader
] =
parameters.loader
)
:
SelfType
Definition Classes
ScalaCheckProperty
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
val
execute
: (
T1
,
T2
) ⇒
R
def
executeInContext
[
R
]
(
result: ⇒
R
)
(
implicit
arg0:
AsResult
[
R
]
)
:
Prop
Attributes
protected
Definition Classes
ScalaCheckFunction
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
noShrink
:
SelfType
Definition Classes
ScalaCheckFunction2
→
ScalaCheckFunction
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
parameters
:
Parameters
Definition Classes
ScalaCheckFunction2
→
ScalaCheckProperty
def
prepare
(
action: (
T1
,
T2
) ⇒ (
T1
,
T2
)
)
:
SelfType
def
pretties
(
p1: (
T1
) ⇒
String
,
p2: (
T2
) ⇒
String
)
:
SelfType
def
pretty1
(
p1: (
T1
) ⇒
String
)
:
SelfType
def
pretty2
(
p2: (
T2
) ⇒
String
)
:
SelfType
def
prettyFreqMap
(
f: (
FreqMap
[
Set
[
Any
]]) ⇒
String
)
:
SelfType
Definition Classes
ScalaCheckProperty
val
prettyFreqMap
: (
FreqMap
[
Set
[
Any
]]) ⇒
Pretty
Definition Classes
ScalaCheckFunction2
→
ScalaCheckProperty
lazy val
prop
:
Prop
Definition Classes
ScalaCheckFunction2
→
ScalaCheckProperty
lazy val
propFunction
: (
T1
,
T2
) ⇒
Prop
def
set
(
minTestsOk:
Int
=
parameters.minTestsOk
,
minSize:
Int
=
parameters.minSize
,
maxDiscardRatio:
Float
=
parameters.maxDiscardRatio
,
maxSize:
Int
=
parameters.maxSize
,
workers:
Int
=
parameters.workers
,
rng:
Random
=
parameters.rng
,
callback:
TestCallback
=
parameters.testCallback
,
loader:
Option
[
ClassLoader
] =
parameters.loader
)
:
SelfType
Definition Classes
ScalaCheckProperty
def
setArbitraries
(
a1:
Arbitrary
[
T1
]
,
a2:
Arbitrary
[
T2
]
)
:
SelfType
def
setArbitrary1
(
a1:
Arbitrary
[
T1
]
)
:
SelfType
def
setArbitrary2
(
a2:
Arbitrary
[
T2
]
)
:
SelfType
def
setContext
(
context:
Context
)
:
SelfType
Definition Classes
ScalaCheckFunction2
→
ScalaCheckFunction
def
setGen1
(
g1:
Gen
[
T1
]
)
:
SelfType
def
setGen2
(
g2:
Gen
[
T2
]
)
:
SelfType
def
setGens
(
g1:
Gen
[
T1
]
,
g2:
Gen
[
T2
]
)
:
SelfType
def
setParameters
(
ps:
Parameters
)
:
SelfType
Definition Classes
ScalaCheckFunction2
→
ScalaCheckProperty
def
setPretties
(
p1: (
T1
) ⇒
Pretty
,
p2: (
T2
) ⇒
Pretty
)
:
SelfType
def
setPretty1
(
p1: (
T1
) ⇒
Pretty
)
:
SelfType
def
setPretty2
(
p2: (
T2
) ⇒
Pretty
)
:
SelfType
def
setPrettyFreqMap
(
f: (
FreqMap
[
Set
[
Any
]]) ⇒
Pretty
)
:
SelfType
Definition Classes
ScalaCheckFunction2
→
ScalaCheckProperty
def
setShrink1
(
s1:
Shrink
[
T1
]
)
:
SelfType
def
setShrink2
(
s2:
Shrink
[
T2
]
)
:
SelfType
def
setShrinks
(
s1:
Shrink
[
T1
]
,
s2:
Shrink
[
T2
]
)
:
SelfType
def
setVerbosity
(
v:
Int
)
:
SelfType
Definition Classes
ScalaCheckProperty
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
verbose
:
SelfType
Definition Classes
ScalaCheckProperty
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
ScalaCheckFunction
Inherited from
ScalaCheckProperty
Inherited from
AnyRef
Inherited from
Any
Ungrouped