Skip to content

Commit

Permalink
Add integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
fmoletta committed Mar 8, 2023
1 parent 3a84739 commit 573ee4b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/cairo_run_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1332,3 +1332,18 @@ fn cairo_run_keccak_builtin() {
)
.expect("Couldn't run program");
}

#[test]
fn cairo_run_keccak_uint256() {
let mut hint_executor = BuiltinHintProcessor::new_empty();
let cairo_run_config = cairo_run::CairoRunConfig {
layout: "recursive",
..cairo_vm::cairo_run::CairoRunConfig::default()
};
cairo_run::cairo_run(
Path::new("cairo_programs/keccak_uint256.json"),
&cairo_run_config,
&mut hint_executor,
)
.expect("Couldn't run program");
}

1 comment on commit 573ee4b

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.30.

Benchmark suite Current: 573ee4b Previous: c326ba8 Ratio
cairo_run(cairo_programs/benchmarks/math_cmp_and_pow_integration_benchmark.json) 23570696 ns/iter (± 280304) 12744915 ns/iter (± 120813) 1.85

This comment was automatically generated by workflow using github-action-benchmark.

CC: @unbalancedparentheses

Please sign in to comment.