-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improve: add some macros to generate big testing suite of fields #131
Merged
duguorong009
merged 24 commits into
privacy-scaling-explorations:main
from
duguorong009:gr@refactor-tests-1
Feb 5, 2024
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
1f9d74b
feat: add the basic "field_testing_suite" macro
duguorong009 0b75e1b
feat: add the macro branches for common field tests
duguorong009 d353b11
fix: add more tests to some fields
duguorong009 06d5101
chore: remove useless clippy rule
duguorong009 cd26f1d
feat: add the macro of testing "bits"(PrimeFieldBits)
duguorong009 8fa2c06
feat: add the macro branch for "serialization_check" testing
duguorong009 4dfc897
feat: add the macro branch for testing constants
duguorong009 0bc508e
feat: add the macro branch to test the sqrt
duguorong009 5683c2c
feat: add the macro branch to test the "ZETA" constant
duguorong009 ddfbaee
chore: rename the test into "field_arithmetic"
duguorong009 5b06cce
feat: add the macro branch to test the "frobenius"
duguorong009 fec2407
feat: add the macro for some extension field(Fp2, Fq2) tests
duguorong009 6dc4660
feat: add the macro for some extension field(Fp6, Fq6) tests
duguorong009 fd73fb9
feat: add the macro for some extension field(Fp12, Fq12) tests
duguorong009 a801e59
feat: add the macro for testing the "from_uniform_bytes"
duguorong009 b549998
chore: remove the unnecessary ark_std timer
duguorong009 7771e6a
chore: fmt
duguorong009 f54b70c
refactor: roll back some macros to functions
duguorong009 fb60967
refactor: move the tests into "test" module
duguorong009 224b5b3
Merge branch 'main' into gr@refactor-tests-1
duguorong009 4b5ba0c
chore: add comment about frobenius testing param
duguorong009 91a3f9e
chore: get rid of leftover
duguorong009 3d587a8
fix: reduce the testing counts for extension field in "test_field"
duguorong009 b7c21ad
chore: add the comment for reducing number of tests in "test_field"
duguorong009 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we comment how we obtained this? Or from where?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@CPerezz
I add the comment regarding this
frobenius
power param in 4b5ba0c .Pls check & gimme the comments.