use super::Solution; pub struct Day02 {} impl Solution for Day02 { fn part1( &self, input: &mut Vec, ) -> Result, Box> { Ok(Box::new("Ready")) } fn part2( &self, input: &mut Vec, ) -> Result, Box> { Ok(Box::new("Ready")) } fn get_day(&self) -> u8 { 2 } } impl Day02 { } /// Test from puzzle input #[cfg(test)] mod test { use crate::*; use super::*; #[test] fn part1() { let challenge = day02::Day02{}; //Complete the Challenge let answer = challenge.part1( get_input(challenge.get_day(), utils::InputType::Test1).unwrap().as_mut() ).unwrap().to_string(); assert_eq!(answer, "Ready"); } #[test] fn part2() { let challenge = day02::Day02{}; //Complete the Challenge let answer = challenge.part2( get_input(challenge.get_day(), utils::InputType::Test2).unwrap().as_mut() ).unwrap().to_string(); assert_eq!(answer, "Ready"); } }