Skip to content

Conversation

@daxpedda
Copy link
Contributor

Should I convert more tests to Proptest right here or in a follow-up?
Alternatively I could make a PR to main adding Proptest and then we can rebase #805 on top of that.

@daxpedda daxpedda mentioned this pull request Aug 15, 2025
@daxpedda daxpedda force-pushed the scalar-div-by-2-proptest branch from f105e0d to 14ff8c7 Compare August 15, 2025 18:39
@tarcieri
Copy link
Contributor

I'm fine with this as-is, though after we merge #805 a followup to convert any other randomized testing to proptests would be great (as well as adding new proptests where they make sense).

@tarcieri tarcieri merged commit 11b61a1 into dalek-cryptography:scalar-div-by-2 Aug 18, 2025
23 checks passed
@daxpedda
Copy link
Contributor Author

though after we merge #805 a followup to convert any other randomized testing to proptests would be great

Will do the PR then after #805 is merged.

rozbb pushed a commit that referenced this pull request Aug 22, 2025
* [WIP] Scalar::div_by_2

* debug_assert that carry is 0

* revise tests

* Test multiply by half scalar, double and compress (#804)

* Test `div_by_2` with `proptest` (#806)

---------

Co-authored-by: daxpedda <[email protected]>
@tarcieri
Copy link
Contributor

@daxpedda #805 is merged! Feel free to submit a followup with more proptests

@daxpedda
Copy link
Contributor Author

daxpedda commented Sep 1, 2025

See #809.

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.

2 participants