diff --git a/baby-stark/src/main.rs b/baby-stark/src/main.rs index 0f2d861..81d4c45 100644 --- a/baby-stark/src/main.rs +++ b/baby-stark/src/main.rs @@ -4,6 +4,7 @@ use crate::field::FieldElement; mod field; mod polynomial; +mod mpolynomial; fn main() { println!("Hello, world!"); diff --git a/baby-stark/src/mpolynomial.rs b/baby-stark/src/mpolynomial.rs new file mode 100644 index 0000000..c055fe0 --- /dev/null +++ b/baby-stark/src/mpolynomial.rs @@ -0,0 +1,7 @@ +pub struct MPolynomial{ + +} + +impl MPolynomial{ + +} \ No newline at end of file diff --git a/baby-stark/src/polynomial.rs b/baby-stark/src/polynomial.rs index e69d222..e81e2f8 100644 --- a/baby-stark/src/polynomial.rs +++ b/baby-stark/src/polynomial.rs @@ -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 = vec![]; + if my_vec.is_empty() { + println!("Everything is good"); + } + } +} \ No newline at end of file