mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-10 09:43:09 +00:00
fmt
This commit is contained in:
parent
ab32f03b10
commit
1ee39b51c1
@ -1,16 +1,17 @@
|
||||
use crate::bls381_arithmetic::Fp;
|
||||
use rand::Rng;
|
||||
|
||||
use crate::bls381_arithmetic::Fp;
|
||||
|
||||
#[test]
|
||||
fn test_bls_mul() -> Result<(),()> {
|
||||
fn test_bls_mul() -> Result<(), ()> {
|
||||
let mut rng = rand::thread_rng();
|
||||
let f: Fp = rng.gen::<Fp>();
|
||||
let g: Fp = rng.gen::<Fp>();
|
||||
let fg = f*g;
|
||||
let fg = f * g;
|
||||
|
||||
println!("{:#?}", f);
|
||||
println!("{:#?}", g);
|
||||
println!("{:#?}", fg);
|
||||
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user