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