From d6b58bf2f94faf6d01bc666e69667a0798515495 Mon Sep 17 00:00:00 2001 From: mmagician Date: Sat, 27 Jan 2024 16:06:55 +0100 Subject: [PATCH] decrease iterations for mnt6_753 --- curves/mnt6_753/src/curves/tests.rs | 6 +++--- curves/mnt6_753/src/fields/tests.rs | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/curves/mnt6_753/src/curves/tests.rs b/curves/mnt6_753/src/curves/tests.rs index dc145880c..07fad12ea 100644 --- a/curves/mnt6_753/src/curves/tests.rs +++ b/curves/mnt6_753/src/curves/tests.rs @@ -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; msm); +test_group!(g1; G1Projective; 100; sw); +test_group!(g2; G2Projective; 100; sw); +test_group!(pairing_output; ark_ec::pairing::PairingOutput; 100; msm); test_pairing!(pairing; crate::MNT6_753); diff --git a/curves/mnt6_753/src/fields/tests.rs b/curves/mnt6_753/src/fields/tests.rs index de96429ac..3b64ced3c 100644 --- a/curves/mnt6_753/src/fields/tests.rs +++ b/curves/mnt6_753/src/fields/tests.rs @@ -3,10 +3,10 @@ use ark_algebra_test_templates::*; use ark_ff::fields::{models::fp6_2over3::*, quadratic_extension::QuadExtConfig}; use ark_std::{rand::Rng, test_rng}; -test_field!(fr; Fr; mont_prime_field); -test_field!(fq; Fq; mont_prime_field); -test_field!(fq3; Fq3); -test_field!(fq6; Fq6); +test_field!(fr; Fr; 200; mont_prime_field); +test_field!(fq; Fq; 200; mont_prime_field); +test_field!(fq3; 200; Fq3); +test_field!(fq6; 200; Fq6); #[test] fn test_fq3_more() {