public static interface StatisticsCoverage.CoverageChecker
Modifier and Type | Method and Description |
---|---|
void |
count(java.util.function.BiConsumer<java.lang.Integer,java.lang.Integer> countChecker)
Check the number of occurrences using one or more assertions.
|
void |
count(java.util.function.BiPredicate<java.lang.Integer,java.lang.Integer> countChecker)
Check the number of occurrences using one or more assertions.
|
void |
count(java.util.function.Consumer<java.lang.Integer> countChecker)
Check the number of occurrences returning true (ok) or false (fail).
|
void |
count(java.util.function.Predicate<java.lang.Integer> countChecker)
Check the number of occurrences returning true (ok) or false (fail)
|
void |
percentage(java.util.function.Consumer<java.lang.Double> percentageChecker)
Check the number of occurrences returning true (ok) or false (fail).
|
void |
percentage(java.util.function.Predicate<java.lang.Double> percentageChecker)
Check the percentage of occurrences returning true (ok) or false (fail)
|
void count(java.util.function.Predicate<java.lang.Integer> countChecker)
countChecker
- a predicate to accept a selected value set's number of occurrencesvoid count(java.util.function.BiPredicate<java.lang.Integer,java.lang.Integer> countChecker)
countChecker
- a consumer to accept a selected value set's number of occurrences
and the count of all submitted value sets to compare with
or make a calculationvoid count(java.util.function.Consumer<java.lang.Integer> countChecker)
countChecker
- a predicate to accept a selected value set's number of occurrencesvoid count(java.util.function.BiConsumer<java.lang.Integer,java.lang.Integer> countChecker)
countChecker
- a predicate to accept a selected value set's number of occurrences
and the count of all submitted value sets to compare with
or make a calculationvoid percentage(java.util.function.Predicate<java.lang.Double> percentageChecker)
percentageChecker
- a predicate to accept a selected value set's
percentage (0.0 - 100.0) of occurrencesvoid percentage(java.util.function.Consumer<java.lang.Double> percentageChecker)
percentageChecker
- a predicate to accept a selected value set's
percentage (0.0 - 100.0) of occurrences