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
var shrinkable = Arb.From(
Gen.Choose(0, 10),
x=> new[]{ x-1 }.Where(x => x >= 0));
var notShrinkable = Arb.From(Gen.Choose(0, 10));
var zipped = shrinkable.Zip(notShrinkable);
zipped.Shrinker((10, 10)); // empty, expected (9, 10)
Actual behaviour:
The behaviour of shrinking using Zip is to shrink each independent variable together and to stop shrinking when one variable stops providing shrink values.
Expected behaviour:
Independent variables are shrunk independently. If one value cannot shrink then the other should be permitted to shrink.
Actual behaviour:
The behaviour of shrinking using Zip is to shrink each independent variable together and to stop shrinking when one variable stops providing shrink values.
Expected behaviour:
Independent variables are shrunk independently. If one value cannot shrink then the other should be permitted to shrink.
This implementation provides the expected result.
The text was updated successfully, but these errors were encountered: