Skip to content

Commit

Permalink
lint: cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
whichqua committed Nov 21, 2024
1 parent cb374e7 commit 8dc35db
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions vm/src/tests/cairo_run_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1245,40 +1245,48 @@ fn cairo_run_apply_poly_proof() {
#[cfg_attr(target_arch = "wasm32", wasm_bindgen_test)]
#[cfg(feature = "cairo-0-secp-hints")]
fn cairo_run_secp_cairo0_reduce_value() {
let program_data = include_bytes!("../../../cairo_programs/cairo-0-secp-hints-feature/secp_cairo0_reduce_value.json");
let program_data = include_bytes!(
"../../../cairo_programs/cairo-0-secp-hints-feature/secp_cairo0_reduce_value.json"
);
run_program_simple(program_data.as_slice());
}

#[test]
#[cfg_attr(target_arch = "wasm32", wasm_bindgen_test)]
#[cfg(feature = "cairo-0-secp-hints")]
fn cairo_run_secp_cairo0_ec() {
let program_data = include_bytes!("../../../cairo_programs/cairo-0-secp-hints-feature/secp_cairo0_ec.json");
let program_data =
include_bytes!("../../../cairo_programs/cairo-0-secp-hints-feature/secp_cairo0_ec.json");
run_program_simple(program_data.as_slice());
}

#[test]
#[cfg_attr(target_arch = "wasm32", wasm_bindgen_test)]
#[cfg(feature = "cairo-0-secp-hints")]
fn cairo_run_secp_cairo0_reduce_x() {
let program_data = include_bytes!("../../../cairo_programs/cairo-0-secp-hints-feature/secp_cairo0_reduce_x.json");
let program_data = include_bytes!(
"../../../cairo_programs/cairo-0-secp-hints-feature/secp_cairo0_reduce_x.json"
);
run_program_simple(program_data.as_slice());
}

#[test]
#[cfg_attr(target_arch = "wasm32", wasm_bindgen_test)]
#[cfg(feature = "cairo-0-secp-hints")]
fn cairo_run_secp_cairo0_get_point_from_x() {
let program_data = include_bytes!("../../../cairo_programs/cairo-0-secp-hints-feature/secp_cairo0_get_point_from_x.json");
let program_data = include_bytes!(
"../../../cairo_programs/cairo-0-secp-hints-feature/secp_cairo0_get_point_from_x.json"
);
run_program_simple(program_data.as_slice());
}

#[test]
#[cfg_attr(target_arch = "wasm32", wasm_bindgen_test)]
#[cfg(feature = "cairo-0-secp-hints")]
fn cairo_run_secp_cairo0_compute_q_mod_prime() {
let program_data =
include_bytes!("../../../cairo_programs/cairo-0-secp-hints-feature/secp_cairo0_compute_q_mod_prime.json");
let program_data = include_bytes!(
"../../../cairo_programs/cairo-0-secp-hints-feature/secp_cairo0_compute_q_mod_prime.json"
);
run_program_simple(program_data.as_slice());
}

Expand All @@ -1295,6 +1303,8 @@ fn cairo_run_secp_cairo0_ec_double_assign_new_x() {
#[cfg_attr(target_arch = "wasm32", wasm_bindgen_test)]
#[cfg(feature = "cairo-0-secp-hints")]
fn cairo_run_secp_cairo0_ec_mul_by_uint256() {
let program_data = include_bytes!("../../../cairo_programs/cairo-0-secp-hints-feature/secp_cairo0_ec_mul_by_uint256.json");
let program_data = include_bytes!(
"../../../cairo_programs/cairo-0-secp-hints-feature/secp_cairo0_ec_mul_by_uint256.json"
);
run_program_simple(program_data.as_slice());
}

0 comments on commit 8dc35db

Please sign in to comment.