Skip to content

Add quickcheck tests#25

Open
Spxg wants to merge 2 commits intomainfrom
w/quickcheck
Open

Add quickcheck tests#25
Spxg wants to merge 2 commits intomainfrom
w/quickcheck

Conversation

@Spxg
Copy link
Copy Markdown
Member

@Spxg Spxg commented Mar 22, 2026

No description provided.

Copy link
Copy Markdown
Member

@daxpedda daxpedda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was confused by "interop", but this is really just using QuickCheck to properly run tests.

Instead of a separate test I propose we should just use QuickCheck directly in client/js-sys/tests/numeric.rs.

Could you also add it to the tests in client/js-bindgen/src/macro.rs?

@Spxg
Copy link
Copy Markdown
Member Author

Spxg commented Mar 25, 2026

Could you also add it to the tests in client/js-bindgen/src/macro.rs?

quickcheck inputs are all generated at runtime, so it won’t work with ConstInteger

@Spxg Spxg changed the title Add quickcheck interop tests Add quickcheck tests Mar 25, 2026
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