Upgrade to work with latest ark-ff (#95)

Co-authored-by: Sun <huachuang20@gmail.com>
This commit is contained in:
Pratyush Mishra
2022-03-07 13:12:03 -08:00
committed by GitHub
parent d0dc200f22
commit 1551d6d76c
231 changed files with 2830 additions and 4343 deletions

18
pallas/src/curves/tests.rs Normal file → Executable file
View File

@@ -1,21 +1,11 @@
#![allow(unused_imports)]
use ark_ff::{
fields::{Field, FpParameters, PrimeField, SquareRootField},
One, Zero,
};
use ark_serialize::CanonicalSerialize;
use ark_std::test_rng;
use ark_ec::{models::SWModelParameters, AffineCurve, PairingEngine, ProjectiveCurve};
use ark_std::ops::{AddAssign, MulAssign};
use ark_std::rand::Rng;
use crate::{Affine, PallasParameters, Projective};
use ark_algebra_test_templates::{
curves::{curve_tests, sw_tests},
groups::group_test,
};
use ark_ec::AffineCurve;
use ark_std::{rand::Rng, test_rng};
use crate::{Affine, PallasParameters, Projective};
#[test]
fn test_projective_curve() {