-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve: add some macros to generate big testing suite of fields (#131)
* feat: add the basic "field_testing_suite" macro * feat: add the macro branches for common field tests * fix: add more tests to some fields * chore: remove useless clippy rule * feat: add the macro of testing "bits"(PrimeFieldBits) * feat: add the macro branch for "serialization_check" testing * feat: add the macro branch for testing constants * feat: add the macro branch to test the sqrt * feat: add the macro branch to test the "ZETA" constant * chore: rename the test into "field_arithmetic" * feat: add the macro branch to test the "frobenius" * feat: add the macro for some extension field(Fp2, Fq2) tests * feat: add the macro for some extension field(Fp6, Fq6) tests * feat: add the macro for some extension field(Fp12, Fq12) tests * feat: add the macro for testing the "from_uniform_bytes" * chore: remove the unnecessary ark_std timer * chore: fmt * refactor: roll back some macros to functions * refactor: move the tests into "test" module * chore: add comment about frobenius testing param * chore: get rid of leftover * fix: reduce the testing counts for extension field in "test_field" * chore: add the comment for reducing number of tests in "test_field"
- Loading branch information
1 parent
d56a0d9
commit f96f7f9
Showing
17 changed files
with
1,141 additions
and
1,924 deletions.
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.