From f36b7ece6500afe0d3fff6ef379598a33c33628c Mon Sep 17 00:00:00 2001 From: "dustin.ray" Date: Fri, 4 Oct 2024 17:34:50 -0700 Subject: [PATCH] tests --- .../src/proof_primitive/dory/public_parameters.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/proof-of-sql/src/proof_primitive/dory/public_parameters.rs b/crates/proof-of-sql/src/proof_primitive/dory/public_parameters.rs index 19c020a3d..cf43e1da0 100644 --- a/crates/proof-of-sql/src/proof_primitive/dory/public_parameters.rs +++ b/crates/proof-of-sql/src/proof_primitive/dory/public_parameters.rs @@ -288,11 +288,11 @@ mod tests { // nu = 15 | 9.000 MB | 504.351756724s #[test] fn we_can_read_and_write_a_file_round_trip() { - let nu_values = vec![4]; + let nu_values = vec![1, 2, 4]; // Loop through each nu value for &nu in &nu_values { - dbg!("\nTesting with nu = {}", nu); + println!("\nTesting with nu = {}", nu); let start_time = std::time::Instant::now(); @@ -323,11 +323,11 @@ mod tests { // Record the file size in bytes let metadata = std::fs::metadata(file_path).expect("Failed to get file metadata"); let file_size = metadata.len(); // Get the file size in bytes - dbg!("File size for nu = {}: {} bytes", nu, file_size); + println!("File size for nu = {}: {} bytes", nu, file_size); // Record the time taken and print it let elapsed_time = start_time.elapsed(); - dbg!("Time taken for nu = {}: {:?}", nu, elapsed_time); + println!("Time taken for nu = {}: {:?}", nu, elapsed_time); // Clean up the test file after the test runs std::fs::remove_file(file_path).expect("Failed to remove test file");