Merge pull request #354 from mir-protocol/smaller_tests

Reduced test sizes
This commit is contained in:
Nicholas Ward 2021-11-12 12:32:37 -08:00 committed by GitHub
commit ad42104e65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -127,8 +127,8 @@ mod tests {
#[test]
fn test_multiple_comparison() -> Result<()> {
for size in [1, 3, 6, 10] {
for num_bits in [20, 32, 40, 50] {
for size in [1, 3, 6] {
for num_bits in [20, 32, 40, 44] {
test_list_le(size, num_bits).unwrap();
}
}

View File

@ -470,8 +470,8 @@ mod tests {
#[test]
fn low_degree() {
let num_bits = 40;
let num_chunks = 5;
let num_bits = 20;
let num_chunks = 4;
test_low_degree::<GoldilocksField, _, 4>(AssertLessThanGate::<_, 4>::new(
num_bits, num_chunks,
@ -480,8 +480,8 @@ mod tests {
#[test]
fn eval_fns() -> Result<()> {
let num_bits = 40;
let num_chunks = 5;
let num_bits = 20;
let num_chunks = 4;
test_eval_fns::<GoldilocksField, _, 4>(AssertLessThanGate::<_, 4>::new(
num_bits, num_chunks,