| Modifier and Type | Field and Description |
|---|---|
| public static final int | DEFAULT_SIZE
Default size hint for generators: 100 |
| public static final int | DEFAULT_TRIES
Default tries to check a property: 1000 |
| public static final Supplier | RNG
A thread-safe, equally distributed random number generator. |
| Modifier and Type | Method and Description |
|---|---|
| public default Checkable | |
| public CheckResult | Returns: A CheckResultAn implementation of randomNumberGenerator, int java..A (not necessarily positive) size hint. size, int A non-negative number of tries to falsify the given property. tries)Checks this property. |
| public default CheckResult | Returns: A CheckResultA (not necessarily positive) size hint. size, int A non-negative number of tries to falsify the given property. tries)Checks this property using the default random number generator |
| public default CheckResult | Returns: A CheckResultChecks this property using the default random number generator |
| public default Checkable |
| DEFAULT_SIZE | back to summary |
|---|---|
| public static final int DEFAULT_SIZE Default size hint for generators: 100 | |
| DEFAULT_TRIES | back to summary |
|---|---|
| public static final int DEFAULT_TRIES Default tries to check a property: 1000 | |
| RNG | back to summary |
|---|---|
| public static final Supplier<Random> RNG A thread-safe, equally distributed random number generator. | |
| and | back to summary |
|---|---|
| public default Checkable and(Checkable checkable) Returns a new Checkable which is satisfied if this Checkable and the given checkable are satisfied. First this Checkable is checked. | |
| check | back to summary |
|---|---|
| public CheckResult check(Random randomNumberGenerator, int size, int tries) Checks this property.
| |
| check | back to summary |
|---|---|
| public default CheckResult check(int size, int tries) Checks this property using the default random number generator
| |
| check | back to summary |
|---|---|
| public default CheckResult check() Checks this property using the default random number generator
| |
| or | back to summary |
|---|---|
| public default Checkable or(Checkable checkable) Returns a new Checkable which is satisfied if this Checkable or the given checkable are satisfied. First this Checkable is checked. | |