Skip to content

Commit

Permalink
minor change to test
Browse files Browse the repository at this point in the history
  • Loading branch information
kitounliu committed Sep 8, 2023
1 parent 14eead3 commit c124716
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions src/ecc_chip/point_base_chip/fix_mul.rs
Original file line number Diff line number Diff line change
Expand Up @@ -343,15 +343,17 @@ mod tests {
let mut rng = OsRng;
let g = Point::random(&mut rng);

let circuit = TestEccMulFix {
window_size: 3,
generator: g,
};
let instance = vec![vec![]];
mock_prover_verify(&circuit, instance);

let dimension = DimensionMeasurement::measure(&circuit).unwrap();
println!("mul fix dimention: {:?}", dimension);
for window_size in 2..6 {
let circuit = TestEccMulFix {
window_size: window_size,
generator: g,
};
let instance = vec![vec![]];
mock_prover_verify(&circuit, instance);

let dimension = DimensionMeasurement::measure(&circuit).unwrap();
println!("window size {:?}, mul fix: {:?}", window_size, dimension);
}
}

#[test]
Expand Down

0 comments on commit c124716

Please sign in to comment.