DEFAULT_SIZE, DEFAULT_TRIES, RNG
Modifier and Type | Method and Description |
---|---|
CheckResult |
check(Random random,
int size,
int tries)
Checks this property.
|
Checkable |
implies(CheckedFunction4<T1,T2,T3,T4,Boolean> postcondition)
Returns an implication which composes this Property as pre-condition and a given post-condition.
|
public Checkable implies(CheckedFunction4<T1,T2,T3,T4,Boolean> postcondition)
postcondition
- The postcondition of this implicationpublic CheckResult check(Random random, int size, int tries)
Checkable
check
in interface Checkable
random
- An implementation of Random
.size
- A (not necessarily positive) size hint.tries
- A non-negative number of tries to falsify the given property.Copyright © 2016. All Rights Reserved.