-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix discard ratio and maxSuccess interacting poorly (#371)
* Fix discard ratio and maxSuccess interacting poorly when both are quite small + fix `withMaxSuccess` not updating result on discard * factor out `computeSize` to make sure the size computation is the same regardless of if we are using `withMaxSuccess` and `withDiscardRatio` or `stdArgs{maxSuccess=...,maxDiscardRatio=...}` * make sure we run the discard ratio tests always * make sure test builds on ghc 7 --------- Co-authored-by: Ulf Norell <[email protected]>
- Loading branch information
1 parent
60a95f7
commit d88f5f6
Showing
5 changed files
with
58 additions
and
31 deletions.
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
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
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