Skip to content

Commit

Permalink
tnil xiF
Browse files Browse the repository at this point in the history
  • Loading branch information
TlatoaniHJ committed Jan 10, 2025
1 parent 6cb2ac3 commit 4cc7523
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions extensions/native/tests/programs/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,10 @@ openvm_native_guest_macro::native_kernel! {

openvm::entry!(main);

const N: usize = 8;

fn main() {
let answers: [usize; N] = [0, 1, 1, 2, 3, 5, 8, 13];
for i in 0..N {
if function_name(i) != answers[i] {
let answers = [0, 1, 1, 2, 3, 5, 8, 13];
for (i, answer) in answers.into_iter().enumerate() {
if function_name(i) != answer {
panic!();
}
}
Expand Down

0 comments on commit 4cc7523

Please sign in to comment.