From 95d88256e0b54744535a19abfce34689a1dbb60c Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Tue, 3 Dec 2024 09:14:40 -0600 Subject: [PATCH] Starting day 3 --- 2024/rust/src/day3.rs | 14 ++++++++++++++ 2024/rust/src/template.rs | 24 +++--------------------- 2 files changed, 17 insertions(+), 21 deletions(-) create mode 100644 2024/rust/src/day3.rs diff --git a/2024/rust/src/day3.rs b/2024/rust/src/day3.rs new file mode 100644 index 0000000..235d012 --- /dev/null +++ b/2024/rust/src/day3.rs @@ -0,0 +1,14 @@ +mod prelude; +pub use crate::prelude::*; + +fn main() { + show_answers(0, 0); +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn test() {} +} diff --git a/2024/rust/src/template.rs b/2024/rust/src/template.rs index f6d6739..235d012 100644 --- a/2024/rust/src/template.rs +++ b/2024/rust/src/template.rs @@ -1,22 +1,8 @@ mod prelude; -use crate::prelude::*; +pub use crate::prelude::*; fn main() { - Day5::show(day_input(5), day_input(5)) -} - -struct Day5 {} -impl AoCSolution for Day5 { - type Input = String; - type Solution = usize; - - fn part1(input: Self::Input) -> Self::Solution { - 0 - } - - fn part2(input: Self::Input) -> Self::Solution { - 0 - } + show_answers(0, 0); } #[cfg(test)] @@ -24,9 +10,5 @@ mod tests { use super::*; #[test] - fn test() { - let input = r#""#; - assert_eq!(Day2::part1(input.into()), 1); - assert_eq!(Day2::part2(input.into()), 0); - } + fn test() {} }