Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly shrink constrained types with sampleshrink
Without this patch shrinking with sampleshrink takes forever for some types when retries to this function retries to shrink. The solution is to compare shrunk result with previous results and stop if we already saw the value
- Loading branch information
1 parent
fea60b1
commit 913e07e
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters