Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
fmoletta committed Jun 7, 2024
1 parent 47fd264 commit 6dbf2f0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions vm/src/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,26 +45,26 @@ mod skip_instruction_test;

//For simple programs that should just succeed and have no special needs.
//Checks memory holes == 0
fn run_program_simple(data: &[u8]) {
fn run_program_simple(data: &[u8]) {
run_program(data, Some("all_cairo"), None, None, Some(0))
}

//For simple programs that should just succeed and have no special needs.
//Checks memory holes
fn run_program_simple_with_memory_holes(data: &[u8], holes: usize) {
fn run_program_simple_with_memory_holes(data: &[u8], holes: usize) {
run_program(data, Some("all_cairo"), None, None, Some(holes))
}

//For simple programs that should just succeed but using small layout.
fn run_program_small(data: &[u8]) {
fn run_program_small(data: &[u8]) {
run_program(data, Some("small"), None, None, None)
}

fn run_program_with_trace(data: &[u8], trace: &[(usize, usize, usize)]) {
fn run_program_with_trace(data: &[u8], trace: &[(usize, usize, usize)]) {
run_program(data, Some("all_cairo"), Some(trace), None, None)
}

fn run_program_with_error(data: &[u8], error: &str) {
fn run_program_with_error(data: &[u8], error: &str) {
run_program(data, Some("all_cairo"), None, Some(error), None)
}

Expand Down

0 comments on commit 6dbf2f0

Please sign in to comment.