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() {} }