Skip to content

Use QuickCheck features in Seq property tests#1197

Merged
meooow25 merged 1 commit intohaskell:masterfrom
meooow25:seq-props
Apr 19, 2026
Merged

Use QuickCheck features in Seq property tests#1197
meooow25 merged 1 commit intohaskell:masterfrom
meooow25:seq-props

Conversation

@meooow25
Copy link
Copy Markdown
Contributor

@meooow25 meooow25 commented Apr 11, 2026

Use .&&. and === wherever suitable. This leads to better failure messages compared to having a Bool.
Also separate the validity checks from the equality checks for simplicity.
Change some tests to use arbitrary functions where it seems suitable.

Closes #263

@meooow25 meooow25 force-pushed the seq-props branch 2 times, most recently from ba81143 to dcf2da3 Compare April 18, 2026 00:37
@meooow25 meooow25 changed the title Use QuickCheck's .&&. and === in Seq property tests Use QuickCheck features in Seq property tests Apr 18, 2026
Use .&&. and === wherever suitable. This leads to better failure
messages compared to having a Bool.
Also separate the validity checks from the equality checks for
simplicity.
Change some tests to use arbitrary functions where it seems suitable.
@meooow25 meooow25 merged commit 0f3e38b into haskell:master Apr 19, 2026
19 checks passed
@meooow25 meooow25 deleted the seq-props branch April 19, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use more nice QuickCheck features

1 participant