Skip to content

Commit

Permalink
still trying smaller test size...
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyfloatersu committed Jan 17, 2025
1 parent 22abffa commit 09c6054
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions poly_commit/src/orion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ mod simd_field_tests;

mod simd_field_agg_impl;

// #[cfg(test)]
// mod simd_field_agg_tests;
#[cfg(test)]
mod simd_field_agg_tests;

mod pcs_for_expander_gkr;
pub use pcs_for_expander_gkr::OrionPCSForGKR;
Expand Down
4 changes: 2 additions & 2 deletions poly_commit/src/orion/base_field_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ where

#[test]
fn test_orion_commit_base_field_consistency() {
(19..=25).for_each(|num_vars| {
(16..=19).for_each(|num_vars| {
test_orion_commit_base_field_consistency_generic::<GF2, GF2x64>(num_vars);
test_orion_commit_base_field_consistency_generic::<GF2, GF2x128>(num_vars);
});

(16..=22).for_each(|num_vars| {
(12..=16).for_each(|num_vars| {
test_orion_commit_base_field_consistency_generic::<M31, M31x16>(num_vars)
});
}
4 changes: 2 additions & 2 deletions poly_commit/src/orion/simd_field_agg_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,15 +187,15 @@ where
fn test_orion_simd_aggregate_verify() {
let parties = 16;

(25..30).for_each(|num_var| {
(16..18).for_each(|num_var| {
test_orion_simd_aggregate_verify_helper::<
GF2ExtConfig,
GF2x128,
BytesHashTranscript<GF2_128, Keccak256hasher>,
>(parties, num_var)
});

(18..25).for_each(|num_var| {
(12..15).for_each(|num_var| {
test_orion_simd_aggregate_verify_helper::<
M31ExtConfig,
M31x16,
Expand Down
4 changes: 2 additions & 2 deletions poly_commit/src/orion/simd_field_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,13 @@ where

#[test]
fn test_orion_commit_simd_field_consistency() {
(16..=22).for_each(|num_vars| {
(16..=19).for_each(|num_vars| {
test_orion_commit_simd_field_consistency_generic::<GF2, GF2x8, GF2x8>(num_vars);
test_orion_commit_simd_field_consistency_generic::<GF2, GF2x8, GF2x64>(num_vars);
test_orion_commit_simd_field_consistency_generic::<GF2, GF2x8, GF2x128>(num_vars);
});

(12..=18).for_each(|num_vars| {
(12..=16).for_each(|num_vars| {
test_orion_commit_simd_field_consistency_generic::<M31, M31x16, M31x16>(num_vars)
})
}
4 changes: 2 additions & 2 deletions poly_commit/tests/test_orion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,13 +164,13 @@ fn test_orion_for_expander_gkr() {
GF2ExtConfig,
GF2x128,
BytesHashTranscript<_, Keccak256hasher>,
>(&mpi_config, 19);
>(&mpi_config, 16);

test_orion_for_expander_gkr_generics::<
M31ExtConfig,
M31x16,
BytesHashTranscript<_, Keccak256hasher>,
>(&mpi_config, 19);
>(&mpi_config, 15);

MPIConfig::finalize()
}

0 comments on commit 09c6054

Please sign in to comment.