mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-06 20:20:34 +00:00
cargo fmt
This commit is contained in:
parent
7c0e56a44e
commit
c25b7e7d09
2 changed files with 8 additions and 2 deletions
|
|
@ -834,7 +834,10 @@ fn test_inv_2() {
|
||||||
#[test]
|
#[test]
|
||||||
fn test_delta() {
|
fn test_delta() {
|
||||||
assert_eq!(Fp::DELTA, GENERATOR.pow(&[1u64 << Fp::S, 0, 0, 0]));
|
assert_eq!(Fp::DELTA, GENERATOR.pow(&[1u64 << Fp::S, 0, 0, 0]));
|
||||||
assert_eq!(Fp::DELTA, Fp::multiplicative_generator().pow(&[1u64 << Fp::S, 0, 0, 0]));
|
assert_eq!(
|
||||||
|
Fp::DELTA,
|
||||||
|
Fp::multiplicative_generator().pow(&[1u64 << Fp::S, 0, 0, 0])
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(target_pointer_width = "64"))]
|
#[cfg(not(target_pointer_width = "64"))]
|
||||||
|
|
|
||||||
|
|
@ -833,7 +833,10 @@ fn test_inv_2() {
|
||||||
#[test]
|
#[test]
|
||||||
fn test_delta() {
|
fn test_delta() {
|
||||||
assert_eq!(Fq::DELTA, GENERATOR.pow(&[1u64 << Fq::S, 0, 0, 0]));
|
assert_eq!(Fq::DELTA, GENERATOR.pow(&[1u64 << Fq::S, 0, 0, 0]));
|
||||||
assert_eq!(Fq::DELTA, Fq::multiplicative_generator().pow(&[1u64 << Fq::S, 0, 0, 0]));
|
assert_eq!(
|
||||||
|
Fq::DELTA,
|
||||||
|
Fq::multiplicative_generator().pow(&[1u64 << Fq::S, 0, 0, 0])
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(target_pointer_width = "64"))]
|
#[cfg(not(target_pointer_width = "64"))]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue