Skip to content

Expect test float_exp on negative inputs too#383

Merged
jmid merged 2 commits intoc-cube:mainfrom
jmid:another-float_exp-test
Dec 11, 2025
Merged

Expect test float_exp on negative inputs too#383
jmid merged 2 commits intoc-cube:mainfrom
jmid:another-float_exp-test

Conversation

@jmid
Copy link
Collaborator

@jmid jmid commented Dec 11, 2025

Rereading #382, I realized we weren't testing float_exp/exponential on a negative float parameter.

In order to keep things clean with one topic per PR, this separate PR therefore adds an expect test for both QCheck and QCheck2 to exercise both generation and shrinking on negative numbers too.

I'm happy to share that this works fine too 🙂

@jmid jmid changed the title Add another float_exp test Expect test float_exp on negative inputs too Dec 11, 2025
@jmid jmid merged commit e87b7ee into c-cube:main Dec 11, 2025
24 checks passed
@jmid jmid deleted the another-float_exp-test branch December 11, 2025 12:16
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.

1 participant