You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@visi I'm looking into an implementation for this issue.
Suppose the target type is:
classFoo {
inta;
Stringb;
booleanc;
}
If asked to shrink a particular instance f of Foo, Fields.shrink() could ask each field generator for smaller values for each of f.a, f.b, and f.c; so it would have lists of each of these.
What should the list of shrinks of f be?
Should we make as many Foos as the minimum length of the lists of shrunken field values?
Should we make as many Foos as the size of the Cartesian products of the field shrink lists?
It looks like
@Fields
does not support shrinking.Use case:
It does not seem try shrinking the values :(
The text was updated successfully, but these errors were encountered: