Property3
class in io.proptastic
class Property3<A, B, C>A property over 3 draws, from forAll. Pin examples, then .check: examples run
first, don’t count toward the tries and never shrink.
Methods
example
Property3<A, B, C> example(A a, B b, C c)One example, run before the random tries, its values in the draws’ order.
check
void check(Property3.Check<A, B, C> check)Runs the property now: throws with the shrunk counterexample if check fails.
follows
void follows(Model model, Property3.Answer<A, B, C> answer)Runs the property against model: for each try, the code’s answer must be the
one the model allows, and every outcome the model names must come up, or be .unreachable. A pass prints what was followed.