Skip to content

Commit

Permalink
Commented println in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Trepalin committed May 26, 2022
1 parent ee55495 commit aee1a2b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sdk/program/src/alt_bn128.rs
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ fn alt_bn128_addition_test() {
let test_cases: Vec<TestCase> = serde_json::from_str(test_data).unwrap();

test_cases.iter().for_each(|test| {
println!("Running test {}", &test.name);
// println!("Running test {}", &test.name);
let input = array_bytes::hex2bytes_unchecked(&test.input);
let result = alt_bn128_addition(&input);
assert!(result.is_ok());
Expand Down Expand Up @@ -698,7 +698,7 @@ fn alt_bn128_multiplication_test() {
let test_cases: Vec<TestCase> = serde_json::from_str(test_data).unwrap();

test_cases.iter().for_each(|test| {
println!("Running test {}", &test.name);
// println!("Running test {}", &test.name);
let input = array_bytes::hex2bytes_unchecked(&test.input);
let result = alt_bn128_multiplication(&input);
assert!(result.is_ok());
Expand Down Expand Up @@ -813,7 +813,7 @@ fn alt_bn128_pairing_test() {
let test_cases: Vec<TestCase> = serde_json::from_str(test_data).unwrap();

test_cases.iter().for_each(|test| {
println!("Running test {}", &test.name);
// println!("Running test {}", &test.name);
let input = array_bytes::hex2bytes_unchecked(&test.input);
let result = alt_bn128_pairing(&input);
assert!(result.is_ok());
Expand All @@ -822,4 +822,4 @@ fn alt_bn128_pairing_test() {
let expected = array_bytes::hex2bytes_unchecked(&test.expected);
assert_eq!(result, expected);
});
}
}

0 comments on commit aee1a2b

Please sign in to comment.