This pull request polishes Array's shrink algorithm so that it can cover more cases.
I didn't choose a strategy to produce all combinations of items because it could be too large and takes so long time to get done. Instead, I chose a strategy to shrink each item of an array to reduce cases.
Change
This pull request polishes Array's shrink algorithm so that it can cover more cases.
I didn't choose a strategy to produce all combinations of items because it could be too large and takes so long time to get done. Instead, I chose a strategy to shrink each item of an array to reduce cases.
I referred https://github.com/dubzzz/fast-check/blob/9711e54a99784ee9acd321d675ceea558825e442/packages/fast-check/src/arbitrary/_internals/ArrayArbitrary.ts#L259-L325.