-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the options for script execution (#25)
* fix the options for script execution * remove a println! debug code
- Loading branch information
1 parent
b9c27b5
commit c7cfd53
Showing
3 changed files
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#[cfg(test)] | ||
mod test { | ||
use stwo_prover::core::fields::m31::M31; | ||
use stwo_prover::examples::fibonacci::Fibonacci; | ||
|
||
#[test] | ||
fn test_fib_prove() { | ||
const FIB_LOG_SIZE: u32 = 5; | ||
let fib = Fibonacci::new(FIB_LOG_SIZE, M31::reduce(443693538)); | ||
|
||
let proof = fib.prove().unwrap(); | ||
fib.verify(proof).unwrap(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters