INNER CODE UNIT · Rust
single_poly_degree_bound_test
arkworks-rs/poly-commit · poly-commit/src/lib.rs:1138
pub fn single_poly_degree_bound_test<F, P, PC, S>(
rand_poly: fn(usize, Option<usize>, &mut ChaCha20Rng) -> P,
rand_point: fn(Option<usize>, &mut ChaCha20Rng) -> P::Point,
sponge: fn() -> S,
) -> Result<(), PC::Error>
where
F: PrimeField,
P: Polynomial<F>,
PC: PolynomialCommitment<F, P>,
S: CryptographicSponge,
{
let info = TestInfo {
num_iters: 100,
max_degree: None,
supported_degree: None,
num_vars: None,
num_polynomials: 1,
enforce_degree_bounds: true,