-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optional #iterations in group & field tests (#766)
* enable specifying a custom number of iterations for testing * decrease iterations for mnt6_753 * fix macros * decrease iterations for mnt4-753 * decrease iters further * Update test-templates/src/fields.rs
- Loading branch information
Showing
6 changed files
with
44 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
use crate::*; | ||
use ark_algebra_test_templates::*; | ||
|
||
test_group!(g1; G1Projective; sw); | ||
test_group!(g2; G2Projective; sw); | ||
test_group!(pairing_output; ark_ec::pairing::PairingOutput<MNT4_753>; msm); | ||
test_group!(50; g1; G1Projective; sw); | ||
test_group!(50; g2; G2Projective; sw); | ||
test_group!(50; pairing_output; ark_ec::pairing::PairingOutput<MNT4_753>; msm); | ||
test_pairing!(pairing; crate::MNT4_753); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
use crate::*; | ||
use ark_algebra_test_templates::*; | ||
|
||
test_field!(fr; Fr; mont_prime_field); | ||
test_field!(fq; Fq; mont_prime_field); | ||
test_field!(fq2; Fq2); | ||
test_field!(fq4; Fq4); | ||
test_field!(100; fr; Fr; mont_prime_field); | ||
test_field!(100; fq; Fq; mont_prime_field); | ||
test_field!(100; fq2; Fq2); | ||
test_field!(100; fq4; Fq4); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
use crate::*; | ||
use ark_algebra_test_templates::*; | ||
|
||
test_group!(g1; G1Projective; sw); | ||
test_group!(g2; G2Projective; sw); | ||
test_group!(pairing_output; ark_ec::pairing::PairingOutput<MNT6_753>; msm); | ||
test_group!(50; g1; G1Projective; sw); | ||
test_group!(50; g2; G2Projective; sw); | ||
test_group!(50; pairing_output; ark_ec::pairing::PairingOutput<MNT6_753>; msm); | ||
test_pairing!(pairing; crate::MNT6_753); |
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