From eb7b509f782c3348534ea42872a025022f323dd4 Mon Sep 17 00:00:00 2001 From: Luke Else Date: Fri, 22 Nov 2024 11:06:13 +0000 Subject: [PATCH] Removed uneeded dayxx.rs file --- src/solutions/dayxx.rs | 66 ------------------------------------------ 1 file changed, 66 deletions(-) delete mode 100644 src/solutions/dayxx.rs diff --git a/src/solutions/dayxx.rs b/src/solutions/dayxx.rs deleted file mode 100644 index 7ee9fdf..0000000 --- a/src/solutions/dayxx.rs +++ /dev/null @@ -1,66 +0,0 @@ -use super::Solution; - -pub struct DayXX {} - -impl Solution for DayXX { - 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 { - 0 - } -} - -impl DayXX {} - -/// Test from puzzle input -#[cfg(test)] -mod test { - use super::*; - use crate::*; - - #[test] - fn part1() { - let challenge = dayXX::DayXX {}; - - //Complete the Challenge - let answer = challenge - .part1( - utils::get_input(challenge.get_day(), utils::InputType::Test1) - .unwrap() - .as_mut(), - ) - .unwrap() - .to_string(); - - assert_eq!(answer, "Ready"); - } - - #[test] - fn part2() { - let challenge = dayXX::DayXX {}; - - //Complete the Challenge - let answer = challenge - .part2( - utils::get_input(challenge.get_day(), utils::InputType::Test2) - .unwrap() - .as_mut(), - ) - .unwrap() - .to_string(); - - assert_eq!(answer, "Ready"); - } -}