Skip to content

Commit

Permalink
Merge pull request #22 from StarknetCongo/develop
Browse files Browse the repository at this point in the history
Adding Mpolynomial file
  • Loading branch information
elielnfinic authored Mar 21, 2024
2 parents dc7da4e + 244a29e commit 852611e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions baby-stark/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use crate::field::FieldElement;

mod field;
mod polynomial;
mod mpolynomial;

fn main() {
println!("Hello, world!");
Expand Down
7 changes: 7 additions & 0 deletions baby-stark/src/mpolynomial.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
pub struct MPolynomial{

}

impl MPolynomial{

}
12 changes: 12 additions & 0 deletions baby-stark/src/polynomial.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,3 +269,15 @@ impl Polynomial {
Polynomial::from(new_coefficients)
}
}


#[cfg(test)]
mod tests{
#[test]
pub fn test_is_empty_vec(){
let my_vec : Vec<i32> = vec![];
if my_vec.is_empty() {
println!("Everything is good");
}
}
}

0 comments on commit 852611e

Please sign in to comment.